示例#1
0
def setup(bot: Bot) -> None:
    """Load the Defcon cog."""
    bot.add_cog(Defcon(bot))
示例#2
0
def setup(bot: Bot) -> None:
    """Load the Snekbox cog."""
    bot.add_cog(Snekbox(bot))
示例#3
0
def setup(bot: Bot) -> None:
    """Loads the VoiceGate cog."""
    bot.add_cog(VoiceGate(bot))
示例#4
0
文件: doc.py 项目: denene12/bot2
def setup(bot: Bot) -> None:
    """Load the Doc cog."""
    bot.add_cog(Doc(bot))
示例#5
0
def setup(bot: Bot) -> None:
    """Load the Information cog."""
    bot.add_cog(Information(bot))
示例#6
0
文件: __init__.py 项目: denene12/bot2
def setup(bot: Bot) -> None:
    """Load the Sync cog."""
    # Defer import to reduce side effects from importing the sync package.
    from bot.exts.backend.sync._cog import Sync
    bot.add_cog(Sync(bot))
示例#7
0
def setup(bot: Bot) -> None:
    """Load the Battleship Cog."""
    bot.add_cog(Battleship(bot))
示例#8
0
文件: security.py 项目: Kronifer/bot
def setup(bot: Bot) -> None:
    """Load the Security cog."""
    bot.add_cog(Security(bot))
示例#9
0
文件: slowmode.py 项目: zachgates/bot
def setup(bot: Bot) -> None:
    """Load the Slowmode cog."""
    bot.add_cog(Slowmode(bot))
示例#10
0
def setup(bot: Bot) -> None:
    """Load the Epoch cog."""
    bot.add_cog(Epoch())
示例#11
0
def setup(bot: Bot) -> None:
    """Loads the cog into the bot."""
    bot.add_cog(TagsCog())
示例#12
0
def setup(bot: Bot) -> None:
    """Load the stats cog."""
    bot.add_cog(Stats(bot))
示例#13
0
def setup(bot: Bot) -> None:
    """Load the Superstarify cog."""
    bot.add_cog(Superstarify(bot))
示例#14
0
def setup(bot: Bot) -> None:
    """Load the ModManagement cog."""
    bot.add_cog(ModManagement(bot))
示例#15
0
def setup(bot: Bot) -> None:
    """Load the DuckGamesDirector cog."""
    bot.add_cog(DuckGamesDirector(bot))
示例#16
0
def setup(bot: Bot) -> None:
    """Load the TriviaQuiz cog."""
    bot.add_cog(TriviaQuiz(bot))
示例#17
0
def setup(bot: Bot):
    bot.add_cog(General(bot))
示例#18
0
def setup(bot: Bot) -> None:
    """Load the Verification cog."""
    bot.add_cog(Verification(bot))
示例#19
0
def setup(bot: Bot) -> None:
    """Load the Extensions cog."""
    bot.add_cog(Extensions(bot))
示例#20
0
def setup(bot: Bot) -> None:
    """Load the Utils cog."""
    bot.add_cog(Utils(bot))
示例#21
0
文件: xkcd.py 项目: gurkult/gurkbot
def setup(bot: Bot) -> None:
    """Loading the XKCD cog."""
    bot.add_cog(XKCD(bot))
示例#22
0
def setup(bot: Bot) -> None:
    """Load the ModLog cog."""
    bot.add_cog(ModLog(bot))
示例#23
0
def setup(bot: Bot) -> None:
    """Load the ErrorHandler cog."""
    bot.add_cog(ErrorHandler(bot))
示例#24
0
def setup(bot: Bot) -> None:
    """Validate the AntiSpam configs and load the AntiSpam cog."""
    validation_errors = validate_config()
    bot.add_cog(AntiSpam(bot, validation_errors))
示例#25
0
def setup(bot: Bot) -> None:
    """Load the Wolfram cog."""
    bot.add_cog(Wolfram(bot))
示例#26
0
def setup(bot: Bot) -> None:
    """Load the Movie Cog."""
    bot.add_cog(Movie(bot))
示例#27
0
def setup(bot: Bot) -> None:
    """Load the Traditions Cog."""
    bot.add_cog(Traditions())
示例#28
0
def setup(bot: Bot):
    bot.add_cog(Autopin(bot))
示例#29
0
文件: tags.py 项目: Kronifer/bot
def setup(bot: Bot) -> None:
    """Load the Tags cog."""
    bot.add_cog(Tags(bot))
示例#30
0
def setup(bot: Bot) -> None:
    """Loads the cog into the bot."""
    bot.add_cog(OwnerCog(bot))