def set_game(self, name):
if name is not None:
game = discord.Game(name=f'{name} {self.resumes or ""}')
await self.change_presence(game=game, status=discord.Status.dnd if self._debug else discord.Status.online)
self.game = name
评论列表
文章目录