I have been searching for how to do this, but it seems the only solutions I could find didn't work.
Use ClientUser.edit
on the Client.user
object that represents your bot:
@bot.command()
async def rename(ctx, name):
await bot.user.edit(username=name)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With