Skip to content

Commit ee36c22

Browse files
committed
.
1 parent 002f70e commit ee36c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ async def debug(ctx, *, shit:str):
269269
@checks.is_owner()
270270
async def rename(ctx, *, name:str):
271271
"""Renames the bot"""
272-
await bot.edit_profile(username=name)
272+
await bot.user.edit(username=name)
273273
await ctx.send("si")
274274

275275
@bot.command(hidden=True)

0 commit comments

Comments
 (0)