Beispiel #1
0
def setup(bot: BotBase):
    if not hasattr(bot, '_logging'):
        bot._logging = True
        bot._message_log = list()
        bot._status_log = list()
        bot._last_status = dict()
    bot.add_cog(Logging(bot))
Beispiel #2
0
def setup(bot: BotBase):
    bot.add_cog(Reminders(bot))
Beispiel #3
0
def setup(bot: BotBase):
    bot.add_cog(Boggle(bot))
Beispiel #4
0
def setup(bot: BotBase):
    bot.add_cog(ModerationTools(bot))
Beispiel #5
0
def setup(bot: BotBase):
    bot.add_cog(Meta(bot))
Beispiel #6
0
def setup(bot: BotBase):
    if not hasattr(bot, '_command_stats'):
        bot._command_stats = Counter()
    if not hasattr(bot, '_socket_stats'):
        bot._socket_stats = Counter()
    bot.add_cog(Stats(bot))
Beispiel #7
0
def setup(bot: BotBase):
    bot.add_cog(_SpamChecker(bot))
Beispiel #8
0
def setup(bot: BotBase):
    bot.add_cog(Whitelist(bot))
Beispiel #9
0
def setup(bot: BotBase):
    bot.add_cog(ConnectFour(bot))
Beispiel #10
0
from discord.ext.alternatives import converter_dict, menus_remove_reaction, silent_delete  # noqa: F401

from bot import BotBase, Config

Config._bot = bot = BotBase()
bot.run()
Beispiel #11
0
def setup(bot: BotBase):
    bot.add_cog(Markov(bot))
Beispiel #12
0
def setup(bot: BotBase):
    bot.add_cog(Admin(bot))
Beispiel #13
0
def setup(bot: BotBase):
    bot.add_cog(StatusLogging(bot))