1
0
Fork 0
mirror of synced 2024-06-03 11:14:33 +12:00

Move the valid_perms list to the correct cog

This commit is contained in:
Phxntxm 2017-05-01 18:31:33 -05:00
parent 3754fbc565
commit ab5d73a742
2 changed files with 2 additions and 3 deletions

View file

@ -7,6 +7,8 @@ import discord
import re import re
import rethinkdb as r import rethinkdb as r
valid_perms = [p for p in dir(discord.Permissions) if isinstance(getattr(discord.Permissions, p), property)]
class Administration: class Administration:
def __init__(self, bot): def __init__(self, bot):
self.bot = bot self.bot = bot

View file

@ -7,9 +7,6 @@ import re
import asyncio import asyncio
import rethinkdb as r import rethinkdb as r
valid_perms = [p for p in dir(discord.Permissions) if isinstance(getattr(discord.Permissions, p), property)]
class Moderation: class Moderation:
"""Commands that can be used by a or an admin, depending on the command""" """Commands that can be used by a or an admin, depending on the command"""