From 1d859cb986d34c1820ca1c7dd45754a20d588029 Mon Sep 17 00:00:00 2001 From: IllagerCaptain <76600137+IllagerCaptain@users.noreply.github.com> Date: Tue, 2 Aug 2022 09:19:04 -0500 Subject: [PATCH] Make `/invite` ephemeral. --- src/bot.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bot.ts b/src/bot.ts index 2c3bd5c..8f39c8b 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -17,7 +17,8 @@ export async function handleRequest(request: Request): Promise { return respond({ type: InteractionResponseType.ChannelMessageWithSource, data: { - content: '[Click to add to your server](https://discord.com/api/oauth2/authorize?client_id=819778342818414632&scope=bot%20applications.commands)' + content: '[Click to add to your server](https://discord.com/api/oauth2/authorize?client_id=819778342818414632&scope=bot%20applications.commands)', + flags: MessageFlags.Ephemeral } })