From a03f88860ca805a4b76585d36ad20043f7d315e8 Mon Sep 17 00:00:00 2001 From: Semen Loktionov Date: Wed, 10 Jan 2024 10:36:05 +0200 Subject: [PATCH] revert static welcome message --- src/actions/verify.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/actions/verify.ts b/src/actions/verify.ts index dbdf514..9938c1d 100644 --- a/src/actions/verify.ts +++ b/src/actions/verify.ts @@ -9,7 +9,7 @@ import { DiscordActionRequest } from '@collabland/discord' import { config } from '@/config' -export const handleVerifyAction = async (_: DiscordActionRequest) => { +export const handleVerifyAction = async (interaction: DiscordActionRequest) => { const response: APIInteractionResponse = { type: InteractionResponseType.ChannelMessageWithSource, data: { @@ -17,8 +17,7 @@ export const handleVerifyAction = async (_: DiscordActionRequest) => { flags: MessageFlags.Ephemeral, embeds: [ { - // title: `Welcome to ${interaction?.actionContext?.guildName}!`, - title: `Welcome to Rarimo server!`, + title: `Welcome to ${interaction?.actionContext?.guildName}!`, description: 'To prove your humanity, please follow these steps:', fields: [ {