diff options
Diffstat (limited to 'src/commands/info/avatar.ts')
-rw-r--r-- | src/commands/info/avatar.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/info/avatar.ts b/src/commands/info/avatar.ts index 40debf0..44e1556 100644 --- a/src/commands/info/avatar.ts +++ b/src/commands/info/avatar.ts @@ -8,8 +8,8 @@ export default class AvatarCommand extends BushCommand { category: 'info', description: { content: "A command to get a user's avatar", - usage: 'avatar [user]', - examples: 'avatar' + usage: ['avatar [user]'], + examples: ['avatar', 'av IRONM00N'] }, args: [ { @@ -36,7 +36,7 @@ export default class AvatarCommand extends BushCommand { }); } - override async exec(message: BushMessage | BushSlashMessage, args: { user: GuildMember | User }): Promise<void> { + override async exec(message: BushMessage | BushSlashMessage, args: { user: GuildMember | User }) { const params: { size: 2048; format: 'png'; dynamic: true } = { size: 2048, format: 'png', dynamic: true }; const defaultAvatar = `https://cdn.discordapp.com/embed/avatars/${Math.ceil(Math.random() * 6) - 1}.png`; |