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))
def setup(bot: TTSBot): bot.analytics_buffer = utils.SafeDict() bot.add_cog(AnalyticsEvents(bot))
def setup(bot: TTSBot): bot.add_cog(Loops(bot))
def setup(bot: TTSBot): bot.add_cog(SettingCommands(bot))
def setup(bot: TTSBot): bot.add_cog(DevCommands(bot))
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))
def setup(bot: TTSBot): bot.add_cog(ExtraCommands(bot))
def setup(bot: TTSBot): bot.add_cog(MainCommands(bot))
def setup(bot: TTSBot): bot.add_cog(FancyHelpCommandCog(bot))
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