Skip to content

Commit

Permalink
revert static welcome message
Browse files Browse the repository at this point in the history
  • Loading branch information
napalmpapalam committed Jan 10, 2024
1 parent b4e8dc8 commit a03f888
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/actions/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ 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: {
// https://discord.com/developers/docs/resources/channel#message-object-message-flags
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: [
{
Expand Down

0 comments on commit a03f888

Please sign in to comment.