Exemple #1
0
def setup(bot: ArenaBot) -> None:
    """Add the cog to the bot"""
    bot.add_cog(Task(bot))
Exemple #2
0
def teardown(bot: ArenaBot) -> None:
    """Remove the cog cleanly"""
    bot.remove_cog('Task')
Exemple #3
0
def teardown(bot: ArenaBot) -> None:
    """Remove the cog cleanly"""
    bot.remove_cog('Inventory')
Exemple #4
0
def setup(bot: ArenaBot) -> None:
    """Add the cog to the bot"""
    bot.add_cog(Inventory(bot))
Exemple #5
0
def teardown(bot: ArenaBot) -> None:
    """Remove the cog"""
    bot.remove_cog("Development")
Exemple #6
0
def setup(bot: ArenaBot) -> None:
    """Add the cog"""
    bot.add_cog(Development(bot))
Exemple #7
0
def main() -> None:
    bot = ArenaBot.create()
    bot.load_extensions()

    bot.run(TOKEN)