Move the valid_perms list to the correct cog
This commit is contained in:
parent
3754fbc565
commit
ab5d73a742
|
@ -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
|
||||
|
|
|
@ -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"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue