def setup(bot: commands.Bot): if not hasattr(bot, '_wavelink'): bot._wavelink = wavelink.Client(bot=bot) if not hasattr(bot, '_player_sessions'): bot._player_sessions = dict() bot.add_cog(Player(bot))
def setup(bot: commands.Bot): if not hasattr(bot, '_player_sessions'): bot._player_sessions = dict() bot.add_cog(Status(bot))