Ejemplo n.º 1
0
def setup(bot: Bot) -> None:
    """Load the Defcon cog."""
    bot.add_cog(Defcon(bot))
Ejemplo n.º 2
0
def setup(bot: Bot) -> None:
    """Load the Snekbox cog."""
    bot.add_cog(Snekbox(bot))
Ejemplo n.º 3
0
def setup(bot: Bot) -> None:
    """Loads the VoiceGate cog."""
    bot.add_cog(VoiceGate(bot))
Ejemplo n.º 4
0
Archivo: doc.py Proyecto: denene12/bot2
def setup(bot: Bot) -> None:
    """Load the Doc cog."""
    bot.add_cog(Doc(bot))
Ejemplo n.º 5
0
def setup(bot: Bot) -> None:
    """Load the Information cog."""
    bot.add_cog(Information(bot))
Ejemplo n.º 6
0
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))
Ejemplo n.º 7
0
def setup(bot: Bot) -> None:
    """Load the Battleship Cog."""
    bot.add_cog(Battleship(bot))
Ejemplo n.º 8
0
def setup(bot: Bot) -> None:
    """Load the Security cog."""
    bot.add_cog(Security(bot))
Ejemplo n.º 9
0
def setup(bot: Bot) -> None:
    """Load the Slowmode cog."""
    bot.add_cog(Slowmode(bot))
Ejemplo n.º 10
0
def setup(bot: Bot) -> None:
    """Load the Epoch cog."""
    bot.add_cog(Epoch())
Ejemplo n.º 11
0
def setup(bot: Bot) -> None:
    """Loads the cog into the bot."""
    bot.add_cog(TagsCog())
Ejemplo n.º 12
0
def setup(bot: Bot) -> None:
    """Load the stats cog."""
    bot.add_cog(Stats(bot))
Ejemplo n.º 13
0
def setup(bot: Bot) -> None:
    """Load the Superstarify cog."""
    bot.add_cog(Superstarify(bot))
Ejemplo n.º 14
0
def setup(bot: Bot) -> None:
    """Load the ModManagement cog."""
    bot.add_cog(ModManagement(bot))
Ejemplo n.º 15
0
def setup(bot: Bot) -> None:
    """Load the DuckGamesDirector cog."""
    bot.add_cog(DuckGamesDirector(bot))
Ejemplo n.º 16
0
def setup(bot: Bot) -> None:
    """Load the TriviaQuiz cog."""
    bot.add_cog(TriviaQuiz(bot))
Ejemplo n.º 17
0
def setup(bot: Bot):
    bot.add_cog(General(bot))
Ejemplo n.º 18
0
def setup(bot: Bot) -> None:
    """Load the Verification cog."""
    bot.add_cog(Verification(bot))
Ejemplo n.º 19
0
def setup(bot: Bot) -> None:
    """Load the Extensions cog."""
    bot.add_cog(Extensions(bot))
Ejemplo n.º 20
0
def setup(bot: Bot) -> None:
    """Load the Utils cog."""
    bot.add_cog(Utils(bot))
Ejemplo n.º 21
0
def setup(bot: Bot) -> None:
    """Loading the XKCD cog."""
    bot.add_cog(XKCD(bot))
Ejemplo n.º 22
0
def setup(bot: Bot) -> None:
    """Load the ModLog cog."""
    bot.add_cog(ModLog(bot))
Ejemplo n.º 23
0
def setup(bot: Bot) -> None:
    """Load the ErrorHandler cog."""
    bot.add_cog(ErrorHandler(bot))
Ejemplo n.º 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))
Ejemplo n.º 25
0
def setup(bot: Bot) -> None:
    """Load the Wolfram cog."""
    bot.add_cog(Wolfram(bot))
Ejemplo n.º 26
0
def setup(bot: Bot) -> None:
    """Load the Movie Cog."""
    bot.add_cog(Movie(bot))
Ejemplo n.º 27
0
def setup(bot: Bot) -> None:
    """Load the Traditions Cog."""
    bot.add_cog(Traditions())
Ejemplo n.º 28
0
def setup(bot: Bot):
    bot.add_cog(Autopin(bot))
Ejemplo n.º 29
0
Archivo: tags.py Proyecto: Kronifer/bot
def setup(bot: Bot) -> None:
    """Load the Tags cog."""
    bot.add_cog(Tags(bot))
Ejemplo n.º 30
0
def setup(bot: Bot) -> None:
    """Loads the cog into the bot."""
    bot.add_cog(OwnerCog(bot))