예제 #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
파일: voice_gate.py 프로젝트: zachgates/bot
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
파일: information.py 프로젝트: Denayder/bot
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
파일: management.py 프로젝트: quanta-kt/bot
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
파일: modlog.py 프로젝트: dolphingarlic/bot
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))