2019-10-07 16:11:30 -04:00
|
|
|
"""
|
2019-12-07 17:26:55 -05:00
|
|
|
ae7q extension for qrm
|
2019-10-07 16:11:30 -04:00
|
|
|
---
|
2021-04-03 18:13:42 -04:00
|
|
|
Copyright (C) 2019-2021 classabbyamp, 0x5c
|
2019-10-07 16:11:30 -04:00
|
|
|
|
2021-06-26 20:23:55 -04:00
|
|
|
SPDX-License-Identifier: LiLiQ-Rplus-1.1
|
2019-10-07 16:11:30 -04:00
|
|
|
"""
|
|
|
|
|
2020-01-31 06:50:50 -05:00
|
|
|
|
2020-02-05 07:09:08 -05:00
|
|
|
import discord.ext.commands as commands
|
|
|
|
|
2022-06-24 17:03:54 -04:00
|
|
|
from common import embed_factory, colours
|
2019-12-06 01:19:42 -05:00
|
|
|
|
2019-10-07 16:11:30 -04:00
|
|
|
|
|
|
|
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)
|
2020-01-07 04:28:51 -05:00
|
|
|
|
|
|
|
|
2019-10-18 08:27:05 -04:00
|
|
|
def setup(bot: commands.Bot):
|
2022-06-24 17:03:54 -04:00
|
|
|
bot.add_cog(AE7QCog())
|