qrm2/exts/ae7q.py

29 lines
794 B
Python
Raw Normal View History

"""
ae7q extension for qrm
---
2023-01-29 00:43:56 -05:00
Copyright (C) 2019-2023 classabbyamp, 0x5c
SPDX-License-Identifier: LiLiQ-Rplus-1.1
"""
import discord.ext.commands as commands
2022-06-24 17:03:54 -04:00
from common import embed_factory, colours
class AE7QCog(commands.Cog):
2022-06-24 17:03:54 -04:00
@commands.command(name="ae7q", aliases=["ae"], case_insensitive=True)
async def _ae7q_lookup(self, ctx: commands.Context, *, _):
"""Removed in v2.8.0"""
embed = embed_factory(ctx)
embed.colour = colours.bad
embed.title = "Command removed"
embed.description = ("This command was removed in v2.8.0.\n"
"For context, see [this Github issue](https://github.com/miaowware/qrm2/issues/448)")
await ctx.send(embed=embed)
def setup(bot: commands.Bot):
2022-06-24 17:03:54 -04:00
bot.add_cog(AE7QCog())