1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +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 rethinkdb as r
valid_perms = [p for p in dir(discord.Permissions) if isinstance(getattr(discord.Permissions, p), property)]
class Administration:
def __init__(self, bot):
self.bot = bot

View file

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