Пример #1
0
def setup(bot: Friendo) -> None:
    """Adding the help cog."""
    if not settings.FRIENDO_API_USER:
        raise EnvironmentError(
            "Missing environment variable: FRIENDO_API_USER")
    if not settings.FRIENDO_API_PASS:
        raise EnvironmentError(
            "Missing environment variable: FRIENDO_API_PASS")

    bot.add_cog(DogeBoard(bot))
Пример #2
0
def setup(bot: Friendo) -> None:
    """Load the Utilities cog."""
    bot.add_cog(Utilities(bot))
Пример #3
0
def setup(bot: Friendo) -> None:
    """Sets up the AdventOfCode cog."""
    bot.add_cog(AdventOfCode(bot))
Пример #4
0
def setup(bot: Friendo) -> None:
    """Load the Memes cog."""
    bot.add_cog(Memes(bot))
Пример #5
0
def setup(bot: Friendo) -> None:
    """Load the Todo_List cog."""
    bot.add_cog(TodoList(bot))
Пример #6
0
def setup(bot: Friendo) -> None:
    """Load the User cog."""
    bot.add_cog(User(bot))
Пример #7
0
def setup(bot: Friendo) -> None:
    """Load the Image Segmentation cog."""
    bot.add_cog(Segmentation(bot))
Пример #8
0
def setup(bot: Friendo) -> None:
    """Load the Fun cog."""
    bot.add_cog(Fun(bot))
Пример #9
0
def setup(bot: Friendo) -> None:
    """Load the Admin cog."""
    bot.add_cog(Administration(bot))
Пример #10
0
def setup(bot: Friendo) -> None:
    """Sets up the Pixelate cog."""
    bot.add_cog(Pixelate(bot))
Пример #11
0
def setup(bot: Friendo) -> None:
    """Load the CovidStats cog."""
    bot.add_cog(CovidStats(bot))