finalize help command

This commit is contained in:
Ean Milligan (Bastion) 2023-04-29 03:31:32 -04:00
parent 3268eeff7e
commit 74e59b30a0
1 changed files with 16 additions and 3 deletions

View File

@ -4,7 +4,7 @@ import { infoColor1, isLFGChannel } from '../commandUtils.ts';
import { dbClient, queries } from '../db.ts';
import { CommandDetails } from '../types/commandTypes.ts';
import utils from '../utils.ts';
import { helpSlashName } from './slashCommandNames.ts';
import { createEventSlashName, helpSlashName, setupSlashName } from './slashCommandNames.ts';
const details: CommandDetails = {
name: helpSlashName,
@ -23,8 +23,21 @@ const execute = (bot: Bot, interaction: Interaction) => {
flags: isLFGChannel(interaction.guildId || 0n, interaction.channelId || 0n),
embeds: [{
color: infoColor1,
title: `Getting started with ${config.name}:`,
description: `Thanks for inviting ${config.name}, the event scheduling bot.`,
title: `Getting Started with ${config.name}:`,
description: `Thanks for inviting ${config.name}, the event scheduling bot. There are two ways you can use the bot:`,
fields: [{
name: 'Dedicated Event/LFG Channel:',
value:
`To create a dedicated event/LFG channel, simply have the guild owner or member with the \`ADMINISTRATOR\` permission run the \`/${setupSlashName}\` in the desired channel. This command will walk you through everything necessary to set up the channel.`,
inline: true,
}, {
name: 'Chat channel with events mixed into:',
value: `To create events in any chat channel ${config.name} can see, simply run the \`/${createEventSlashName}\` command.`,
inline: true,
}, {
name: 'Need help or have questions?',
value: `Just join the official support server by [clicking here](${config.links.supportServer}) and ask away!`,
}],
}],
},
},