我试过了,但它只显示观看 1 个会员我做错了什么?
代码:
await client.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name=f"{len(set(client.users))} Members"))
await asyncio.sleep(3)
await client.change_presence(activity=discord.Activity(type=discord.ActivityType.watching, name=f"{len(set(client.users))} Members")) 等待 asyncio.sleep(3)