refactor(commands/utils): now info will use the pwn emoji

Changing the name of the pwn emoji previously dash
This commit is contained in:
Raphael 2025-11-24 14:08:48 +01:00 committed by Raphaël
parent a3f7706bcb
commit e6d1a1406e

View file

@ -42,7 +42,7 @@ function getUserBadges(userData: {
if (userData.isDev) badges.push(emoji.badge.dev);
if (userData.isEnium) badges.push(emoji.badge.enium);
if (userData.isPwn) badges.push(emoji.badge.dash);
if (userData.isPwn) badges.push(emoji.badge.pwn);
if (userData.isBuyer) badges.push(emoji.badge.buyer);
if (userData.isOwner) badges.push(emoji.badge.owner);
@ -52,9 +52,7 @@ function getUserBadges(userData: {
export default {
data: new SlashCommandBuilder()
.setName('info')
.setDescription(
'Show the infromation of one of these categories (user, server, bot)',
)
.setDescription('Show the infromation of one of these categories (user, server, bot)')
.addSubcommand((subcommand) =>
subcommand
.setName('user')