mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 14:47:29 +00:00
Merge branch 'dev'
This commit is contained in:
commit
e6a04160e8
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class Bot:
|
||||||
@cmds.is_owner()
|
@cmds.is_owner()
|
||||||
async def change_username(self, ctx, *, username=None):
|
async def change_username(self, ctx, *, username=None):
|
||||||
if username:
|
if username:
|
||||||
await self.bot.edit(username=username)
|
await self.bot.user.edit(username=username)
|
||||||
await ctx.send(f'**Username changed to** `{username}`')
|
await ctx.send(f'**Username changed to** `{username}`')
|
||||||
else:
|
else:
|
||||||
await ctx.send('**Invalid string**', delete_after=7)
|
await ctx.send('**Invalid string**', delete_after=7)
|
||||||
|
|
Loading…
Reference in a new issue