ping command api parameter added

This commit is contained in:
Mestima 2023-03-28 23:51:32 +03:00
parent beb8dae772
commit 9ac7b12701

View File

@ -4,7 +4,7 @@ export default {
data: new SlashCommandBuilder() data: new SlashCommandBuilder()
.setName('ping') .setName('ping')
.setDescription('Replies with Pong!'), .setDescription('Replies with Pong!'),
async execute(interaction) { async execute(interaction, api) {
await interaction.reply('Pong!'); await interaction.reply('Pong!');
} }
}; };