コード例 #1
0
def setup(bot: utils.Bot):
    x = GoogleAnalytics(bot)
    if '' in list(bot.config['google_analytics'].values()):
        x.logger.error(
            "Google Analytics authorization not set in config - not loading cog."
        )
    else:
        bot.add_cog(x)
コード例 #2
0
def setup(bot:utils.Bot):
    x = VCLogs(bot)
    bot.add_cog(x)
コード例 #3
0
ファイル: role_handler.py プロジェクト: fadedmax/Cerberus
def setup(bot: utils.Bot):
    x = RoleHandler(bot)
    bot.add_cog(x)
コード例 #4
0
def setup(bot: utils.Bot):
    x = PlantInfoCommands(bot)
    bot.add_cog(x)
コード例 #5
0
def setup(bot: utils.Bot):
    x = ErrorHandler(bot)
    bot.add_cog(x)
コード例 #6
0
 def __init__(self, bot: utils.Bot):
     super().__init__(bot)
     self._original_help_command = bot.help_command
     bot.help_command = CustomHelpCommand(dm_help=True)
     bot.help_command.cog = self
コード例 #7
0
def setup(bot:utils.Bot):
    x = BlacklistCommands(bot)
    bot.add_cog(x)
コード例 #8
0
def setup(bot: utils.Bot):
    x = OwnerOnly(bot)
    bot.add_cog(x)
コード例 #9
0
def setup(bot: utils.Bot):
    x = VerificationSystem(bot)
    bot.add_cog(x)
コード例 #10
0
def setup(bot:utils.Bot):
    x = ShopHandler(bot)
    bot.add_cog(x)
コード例 #11
0
def setup(bot: utils.Bot):
    x = ModeratorOnly(bot)
    bot.add_cog(x)
コード例 #12
0
def setup(bot: utils.Bot):
    x = MiscCommands(bot)
    bot.add_cog(x)
コード例 #13
0
ファイル: simulation.py プロジェクト: BurgeLover/MarriageBot
def setup(bot: utils.Bot):
    x = Simulation(bot)
    bot.add_cog(x)
コード例 #14
0
ファイル: parentage.py プロジェクト: stupidedd/MarriageBot
def setup(bot: utils.Bot):
    x = Parentage(bot)
    bot.add_cog(x)
コード例 #15
0
ファイル: connect_event.py プロジェクト: schlopp/Honey
def setup(bot: utils.Bot):
    x = ConnectEvent(bot)
    bot.add_cog(x)
コード例 #16
0
def setup(bot: utils.Bot):
    x = ProfileCreation(bot)
    bot.add_cog(x)
コード例 #17
0
ファイル: misc.py プロジェクト: georgegosden/MarriageBot
def setup(bot: utils.Bot):
    x = Misc(bot)
    bot.add_cog(x)
コード例 #18
0
def setup(bot: utils.Bot):
    x = ProfileVerification(bot)
    bot.add_cog(x)
コード例 #19
0
def setup(bot: utils.Bot):
    x = ServerSpecific(bot)
    bot.add_cog(x)
コード例 #20
0
def setup(bot: utils.Bot):
    x = ProfileTemplates(bot)
    bot.add_cog(x)
コード例 #21
0
def setup(bot: utils.Bot):
    x = BotSettings(bot)
    bot.add_cog(x)
コード例 #22
0
ファイル: information.py プロジェクト: stupidedd/MarriageBot
def setup(bot: utils.Bot):
    x = Information(bot)
    bot.add_cog(x)
コード例 #23
0
def setup(bot: utils.Bot):
    x = Help(bot)
    bot.add_cog(x)
コード例 #24
0
def setup(bot: utils.Bot):
    x = ModerationCommands(bot)
    bot.add_cog(x)
コード例 #25
0
def setup(bot:utils.Bot):
    x = CommandEvent(bot)
    bot.add_cog(x)
コード例 #26
0
def setup(bot: utils.Bot):
    x = EmbedMaker(bot)
    bot.add_cog(x)
コード例 #27
0
def setup(bot: utils.Bot):
    x = Marriage(bot)
    bot.add_cog(x)
コード例 #28
0
def setup(bot: utils.Bot):
    x = UserVCHandler(bot)
    bot.add_cog(x)
コード例 #29
0
ファイル: economy_handler.py プロジェクト: schlopp/Honey
def setup(bot: utils.Bot):
    x = EconomyHandler(bot)
    bot.add_cog(x)
コード例 #30
0
ファイル: fursona_commands.py プロジェクト: schlopp/Honey
def setup(bot: utils.Bot):
    x = FursonaCommands(bot)
    bot.add_cog(x)