Introduces new cog modules for bump, debug, setup, and other functionalities. Implements core abstractions for database, embeds, file handling, and async utilities. Updates configuration and requirements for enhanced bot capabilities.
9 lines
221 B
Python
9 lines
221 B
Python
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) |