from discord.ext import commands class Legacy: def __init__(self, bot): self.bot = bot @commands.command(hidden=True, aliases=["removehacker"]) async def probate(self, ctx): """Use .revoke """ await ctx.send("This command was replaced with `.revoke `" " on Robocop-NG, please use that instead.") @commands.command(hidden=True, aliases=["addhacker"]) async def unprobate(self, ctx): """Use .approve """ await ctx.send("This command was replaced with `.approve `" " on Robocop-NG, please use that instead.") def setup(bot): bot.add_cog(Legacy(bot))