1
0
Fork 0
mirror of synced 2024-05-19 12:02:29 +12:00

Added perms command; not setup yet, pretty much just a 'pass' at the moment

This commit is contained in:
Phxntxm 2016-07-15 08:27:00 -05:00
parent 1101d287ad
commit 3ebec94c62

View file

@ -60,6 +60,14 @@ class Mod:
msg = ' '.join(msg)
await self.bot.say(msg)
await self.bot.delete_message(ctx.message)
@commands.group(pass_context=True, invoke_without_command=True)
@commands.has_permissions(manage_server=True)
async def perms(self, ctx, command: str)
if command not in self.bot.commands:
await bot.say("{} does not appear to be a valid command, I can't set permissions for a command that doesn't exist!")
return
def setup(bot):