feat(ping): ephemeral flags

This commit is contained in:
xHyroM 2022-07-13 08:05:39 +02:00
parent 4d5f6f0704
commit c310a8ca42

View file

@ -1,4 +1,4 @@
import { InteractionResponseType } from 'discord-api-types/v10';
import { InteractionResponseType, MessageFlags } from 'discord-api-types/v10';
import { Command } from '../structures/Command';
new Command({
@ -8,7 +8,8 @@ new Command({
return ctx.respond({
type: InteractionResponseType.ChannelMessageWithSource,
data: {
content: 'Pong 🏓'
content: 'Pong 🏓',
flags: MessageFlags.Ephemeral,
}
})
}