Exemplo n.º 1
0
def setup(bot: TTSBot):
    try:
        from jishaku import Jishaku
    except ModuleNotFoundError:
        print("jishaku not installed, -jsk will not be available")
    else:
        bot.add_cog(Jishaku(bot=bot))
        jsk = cast(Optional[commands.Command], bot.get_command("jsk"))

        assert jsk is not None
        jsk.hidden = True
def setup(bot: TTSBot):
    bot.add_cog(OwnerCommands(bot))
Exemplo n.º 3
0
def setup(bot: TTSBot):
    bot.analytics_buffer = utils.SafeDict()
    bot.add_cog(AnalyticsEvents(bot))
Exemplo n.º 4
0
def setup(bot: TTSBot):
    bot.add_cog(Loops(bot))
Exemplo n.º 5
0
def setup(bot: TTSBot):
    bot.add_cog(SettingCommands(bot))
Exemplo n.º 6
0
def setup(bot: TTSBot):
    bot.add_cog(DevCommands(bot))
Exemplo n.º 7
0
def setup(bot: TTSBot):
    if bot.cluster_id == 0:
        bot.add_cog(DMHandler(bot))
def setup(bot: TTSBot):
    bot.add_cog(TrustedCommands(bot))
def setup(bot: TTSBot):
    bot.add_cog(OtherEvents(bot))
def setup(bot: TTSBot):
    bot.add_cog(MainEvents(bot))
Exemplo n.º 11
0
def setup(bot: TTSBot):
    bot.add_cog(ExtraCommands(bot))
Exemplo n.º 12
0
def setup(bot: TTSBot):
    bot.add_cog(MainCommands(bot))
Exemplo n.º 13
0
def setup(bot: TTSBot):
    bot.add_cog(FancyHelpCommandCog(bot))
Exemplo n.º 14
0
def setup(bot: TTSBot):
    bot.add_cog(SlashCommands(bot))
def setup(bot: TTSBot):
    cog = ErrorEvents(bot)

    bot.add_cog(cog)
    bot.on_error = cog.on_error