diff options
Diffstat (limited to 'src/commands/info/avatar.ts')
-rw-r--r-- | src/commands/info/avatar.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/info/avatar.ts b/src/commands/info/avatar.ts index 0ea9179..6b4afa1 100644 --- a/src/commands/info/avatar.ts +++ b/src/commands/info/avatar.ts @@ -2,7 +2,7 @@ import { BushCommand, type ArgType, type BushMessage, type BushSlashMessage } fr import { ApplicationCommandOptionType, Embed, GuildMember, PermissionFlagsBits } from 'discord.js'; export default class AvatarCommand extends BushCommand { - constructor() { + public constructor() { super('avatar', { aliases: ['avatar', 'av'], category: 'info', @@ -27,7 +27,7 @@ export default class AvatarCommand extends BushCommand { }); } - override async exec(message: BushMessage | BushSlashMessage, args: { user: ArgType<'member'> | ArgType<'globalUser'> }) { + public override async exec(message: BushMessage | BushSlashMessage, args: { user: ArgType<'member'> | ArgType<'globalUser'> }) { const params: { size: 2048; extension: 'png'; dynamic: true } = { size: 2048, extension: 'png', dynamic: true }; const defaultAvatar = `https://cdn.discordapp.com/embed/avatars/${Math.ceil(Math.random() * 6) - 1}.png`; |