mirror of
https://github.com/Mestima/luna.git
synced 2025-05-06 06:00:14 +00:00
ping command api parameter added
This commit is contained in:
parent
beb8dae772
commit
9ac7b12701
@ -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!');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user