我一直在寻找如何做到这一点,但似乎我能找到的唯一解决方案不起作用 .
在代表机器人的Client.user对象上使用ClientUser.edit:
@bot.command() async def rename(ctx, name): await bot.user.edit(username=name)
1 回答
在代表机器人的Client.user对象上使用ClientUser.edit: