Initial commit

This commit is contained in:
Nemika
2021-03-07 20:55:27 +02:00
commit 2ccb1e6bbc
13 changed files with 355 additions and 0 deletions

9
core/checks.py Normal file
View File

@@ -0,0 +1,9 @@
from .files import Data
from discord.ext import commands
config = Data("config").yaml_read()
def manager():
def predicate(ctx):
return ctx.author.id in config["managers"]
return commands.check(predicate)