def main(): if uvloop_present: asyncio.set_event_loop_policy(uvloop.EventLoopPolicy()) loop = asyncio.get_event_loop() helper = loop.run_until_complete(fetch_database_helper(loop)) bot = Photon(helper, loop) bot.run(config.core["token"])
def setup(bot: Photon): bot.add_cog(Music(bot))
def setup(bot: Photon): bot.add_cog(PhotonCog(bot))
def setup(bot: Photon): bot.add_cog(Utilities(bot))
def setup(bot: Photon): bot.add_cog(Admin(bot))
def setup(bot: Photon): bot.add_cog(Notes(bot))
def setup(bot: Photon): bot.add_cog(Moderation(bot))
def setup(bot: Photon): bot.add_cog(Fun(bot))
def setup(bot: Photon): bot.add_cog(Events(bot))
def setup(bot: Photon): bot.add_cog(Polls(bot))