From c310a8ca425c7133b13a81e0e30ef871e9f295f3 Mon Sep 17 00:00:00 2001 From: xHyroM Date: Wed, 13 Jul 2022 08:05:39 +0200 Subject: [PATCH] feat(ping): ephemeral flags --- src/commands/ping.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/commands/ping.ts b/src/commands/ping.ts index f4be607..5bc9178 100644 --- a/src/commands/ping.ts +++ b/src/commands/ping.ts @@ -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, } }) }