finalize help command
This commit is contained in:
		
							parent
							
								
									3268eeff7e
								
							
						
					
					
						commit
						74e59b30a0
					
				|  | @ -4,7 +4,7 @@ import { infoColor1, isLFGChannel } from '../commandUtils.ts'; | ||||||
| import { dbClient, queries } from '../db.ts'; | import { dbClient, queries } from '../db.ts'; | ||||||
| import { CommandDetails } from '../types/commandTypes.ts'; | import { CommandDetails } from '../types/commandTypes.ts'; | ||||||
| import utils from '../utils.ts'; | import utils from '../utils.ts'; | ||||||
| import { helpSlashName } from './slashCommandNames.ts'; | import { createEventSlashName, helpSlashName, setupSlashName } from './slashCommandNames.ts'; | ||||||
| 
 | 
 | ||||||
| const details: CommandDetails = { | const details: CommandDetails = { | ||||||
| 	name: helpSlashName, | 	name: helpSlashName, | ||||||
|  | @ -23,8 +23,21 @@ const execute = (bot: Bot, interaction: Interaction) => { | ||||||
| 				flags: isLFGChannel(interaction.guildId || 0n, interaction.channelId || 0n), | 				flags: isLFGChannel(interaction.guildId || 0n, interaction.channelId || 0n), | ||||||
| 				embeds: [{ | 				embeds: [{ | ||||||
| 					color: infoColor1, | 					color: infoColor1, | ||||||
| 					title: `Getting started with ${config.name}:`, | 					title: `Getting Started with ${config.name}:`, | ||||||
| 					description: `Thanks for inviting ${config.name}, the event scheduling bot.`, | 					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!`, | ||||||
|  | 					}], | ||||||
| 				}], | 				}], | ||||||
| 			}, | 			}, | ||||||
| 		}, | 		}, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue