示例#1
0
def setup(bot: Bot) -> None:
    bot.add_cog(Logging(bot))
示例#2
0
def setup(bot: Bot):
    bot.add_cog(Core(bot))
示例#3
0
def setup(bot: Bot):
    bot.add_cog(Cases(bot))
示例#4
0
文件: main.py 项目: ChiliMX/Magoji
from os import getenv

from internal.bot import Bot

bot = Bot()

bot.load_extension("jishaku")
bot.load_extensions(
    "core.utility",
    "core.config",
    "utility.info",
    "utility.tokens",
    "moderation.moderation",
    "moderation.logging",
    "core.error_handler",
    "utility.reminders",
)

bot.run(getenv("TOKEN"))
示例#5
0
def setup(bot: Bot) -> None:
    bot.add_cog(Reminders(bot))
示例#6
0
文件: main.py 项目: mudkipdev/Magoji
from os import getenv

from internal.bot import Bot

bot = Bot()

bot.load_extension("jishaku")
bot.load_extensions(
    "core.utility",
    "core.config",
    "utility.info",
    # "utility.tokens",
)

bot.run(getenv("TOKEN"))
示例#7
0
def setup(bot: Bot):
    bot.add_cog(Config(bot))
示例#8
0
def setup(bot: Bot):
    bot.add_cog(ErrorHandler(bot))
示例#9
0
def setup(bot: Bot) -> None:
    bot.add_cog(Core(bot))