Пример #1
0
def setup(bot: utils.CustomBot):
    x = GoogleAnalytics(bot)
    if '' in list(bot.config['google_analytics'].values()):
        x.log_handler.error(
            "Google Analytics authorization not set in config - not loading cog."
        )
    else:
        bot.add_cog(x)
Пример #2
0
def setup(bot: utils.CustomBot):
    x = OwnerOnly(bot)
    bot.add_cog(x)
Пример #3
0
def setup(bot: utils.CustomBot):
    x = BotConfig(bot)
    bot.add_cog(x)
def setup(bot: utils.CustomBot):
    x = GuildCountPoster(bot)
    bot.add_cog(x)
Пример #5
0
def setup(bot:utils.CustomBot):
    x = UserUpdateEvent(bot)
    bot.add_cog(x)
Пример #6
0
def setup(bot: utils.CustomBot):
    x = Information(bot)
    bot.add_cog(x)
Пример #7
0
def setup(bot: utils.CustomBot):
    x = Marriage(bot)
    bot.add_cog(x)
Пример #8
0
def setup(bot: utils.CustomBot):
    x = ErrorHandler(bot)
    bot.add_cog(x)
Пример #9
0
def setup(bot: utils.CustomBot):
    x = HelpCommand(bot)
    bot.add_cog(x)
def setup(bot: utils.CustomBot):
    x = PresenceAutoUpdater(bot)
    bot.add_cog(x)
Пример #11
0
def setup(bot: utils.CustomBot):
    x = CommandEvent(bot)
    bot.add_cog(x)
Пример #12
0
def setup(bot: utils.CustomBot):
    x = Parentage(bot)
    bot.add_cog(x)
Пример #13
0
def setup(bot: utils.CustomBot):
    x = RedisHandler(bot)
    bot.add_cog(x)
Пример #14
0
def setup(bot: utils.CustomBot):
    x = Confession(bot)
    bot.add_cog(x)
Пример #15
0
def setup(bot: utils.CustomBot):
    x = ServerSpecific(bot)
    bot.add_cog(x)
Пример #16
0
def setup(bot: utils.CustomBot):
    x = Simulation(bot)
    bot.add_cog(x)
Пример #17
0
def setup(bot: utils.CustomBot):
    x = ChannelEvent(bot)
    bot.add_cog(x)
Пример #18
0
def setup(bot: utils.CustomBot):
    x = Misc(bot)
    bot.add_cog(x)
Пример #19
0
def setup(bot: utils.CustomBot):
    x = ModeratorOnly(bot)
    bot.add_cog(x)