예제 #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)