-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhoareyou.ts
26 lines (23 loc) · 874 Bytes
/
whoareyou.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { IDiscordResponseData } from 'discord-bot-cdk-construct';
import { CustomCommand, SlashCommand } from './command-list';
const whoAreYouCommandInfo: SlashCommand = {
name: 'who-are-you',
description: 'Give a quick description about the bot.',
};
/**
* Gives a description of the Discord bot.
* @return {IDiscordResponseData} Returns the response that should be sent down.
*/
function whoAreYouCommand(): IDiscordResponseData {
return {
tts: false,
// eslint-disable-next-line max-len
content: `I am a Discord bot created by CNU Alumni Gerald McAlister! You can find more information about me at https://github.com/GEMISIS/captain-chris-bot.`,
embeds: [],
allowedMentions: [],
};
}
export const WhoAreYouCommand: CustomCommand = {
slashCommand: whoAreYouCommandInfo,
callback: whoAreYouCommand,
};