Fixed formatting on all command files

This commit is contained in:
2024-01-20 17:19:08 +01:00
parent f34923e2c5
commit a3791d170c
25 changed files with 655 additions and 1168 deletions

View File

@@ -21,8 +21,7 @@ export = {
.setDMPermission(false),
async execute(interaction) {
const user = (interaction.options.getUser("user") ||
interaction.user) as User
const user = (interaction.options.getUser("user") || interaction.user) as User
const embedColor = Number(color.replace("#", "0x"))
let size: number
@@ -33,13 +32,11 @@ export = {
}
await interaction.reply({
embeds: [
{
title: `${user.username}'s pp size`,
description: `8${"=".repeat(size)}D`,
color: embedColor
}
]
embeds: [{
title: `${user.username}'s pp size`,
description: `8${"=".repeat(size)}D`,
color: embedColor
}]
})
}
} as Command