mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-10 10:43:06 +00:00
Added Eslint GitHub Action and Prettier
This commit is contained in:
parent
d8df48438d
commit
512b7526ab
21 changed files with 480 additions and 293 deletions
|
@ -19,7 +19,7 @@ const command: Command = {
|
|||
option
|
||||
.setName('user')
|
||||
.setDescription('The user whose information you want to retrieve.')
|
||||
.setRequired(true)
|
||||
.setRequired(true),
|
||||
),
|
||||
execute: async (interaction) => {
|
||||
const userOption = interaction.options.get('user');
|
||||
|
@ -60,7 +60,7 @@ const command: Command = {
|
|||
{
|
||||
name: 'Number of Bans',
|
||||
value: memberData?.numberOfBans.toString() || '0',
|
||||
}
|
||||
},
|
||||
);
|
||||
await interaction.reply({ embeds: [embed] });
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue