This commit is contained in:
Twentysix
2016-02-29 13:53:09 +01:00
parent e0aa5eb08a
commit 22514af4d9
6 changed files with 8 additions and 7 deletions

View File

@@ -160,7 +160,7 @@ class Mod:
await self.bot.delete_message(x)
@commands.group(pass_context=True)
@checks.admin_or_permissions(ban_members=True)
@checks.is_owner()
async def blacklist(self, ctx):
"""Bans user from using the bot"""
if ctx.invoked_subcommand is None:
@@ -188,7 +188,7 @@ class Mod:
@commands.group(pass_context=True)
@checks.admin_or_permissions(ban_members=True)
@checks.is_owner()
async def whitelist(self, ctx):
"""Users who will be able to use the bot"""
if ctx.invoked_subcommand is None: