2018-12-23 19:59:42 +00:00
|
|
|
from discord.ext import commands
|
2019-02-28 22:10:30 +00:00
|
|
|
from discord.ext.commands import Cog
|
2018-12-23 19:59:42 +00:00
|
|
|
|
2019-02-28 22:10:30 +00:00
|
|
|
class Legacy(Cog):
|
2018-12-23 19:59:42 +00:00
|
|
|
def __init__(self, bot):
|
|
|
|
self.bot = bot
|
|
|
|
|
|
|
|
@commands.command(hidden=True, aliases=["removehacker"])
|
|
|
|
async def probate(self, ctx):
|
|
|
|
"""Use .revoke <user> <role>"""
|
|
|
|
await ctx.send("This command was replaced with `.revoke <user> <role>`"
|
|
|
|
" on Robocop-NG, please use that instead.")
|
|
|
|
|
2018-12-23 20:33:03 +00:00
|
|
|
@commands.command(hidden=True)
|
|
|
|
async def softlock(self, ctx):
|
|
|
|
"""Use .lock True"""
|
|
|
|
await ctx.send("This command was replaced with `.lock True`"
|
|
|
|
" on Robocop-NG, please use that instead.\n"
|
|
|
|
"Also... good luck, and sorry for taking your time. "
|
|
|
|
"Lockdown rarely means anything good.")
|
|
|
|
|
2018-12-23 19:59:42 +00:00
|
|
|
@commands.command(hidden=True, aliases=["addhacker"])
|
|
|
|
async def unprobate(self, ctx):
|
|
|
|
"""Use .approve <user> <role>"""
|
|
|
|
await ctx.send("This command was replaced with `.approve <user> <role>`"
|
|
|
|
" on Robocop-NG, please use that instead.")
|
|
|
|
|
|
|
|
|
|
|
|
def setup(bot):
|
|
|
|
bot.add_cog(Legacy(bot))
|