def setup(bot: Bot): bot.add_cog(Listener(bot))
def setup(bot: Bot): bot.add_cog(Utility(bot))
def setup(bot: Bot): bot.add_cog(Commands(bot))
from dotenv import load_dotenv from os import getenv from source import Bot load_dotenv() if __name__ == "__main__": bot = Bot() bot.load_cogs( "jishaku", "source.cogs.utility", "source.cogs.listener", "source.cogs.commands", ) bot.run(getenv("TOKEN"))