def game(self, ctx, *, presence = None):
"""Change bot presence."""
if presence == None:
presence = self.bot.info['status']
await self.bot.change_presence(game=discord.Game(name=str(presence)))
# if this doesn't work, I changed how id is casted to int
评论列表
文章目录