Initial support for channel-based data storage

This commit is contained in:
Charlie Laabs
2021-12-21 23:19:14 -06:00
parent a2ae99d75d
commit 3b946b72ec
6 changed files with 177 additions and 79 deletions

View File

@@ -37,11 +37,21 @@ export class AppConfig {
* The command prefix used to trigger the bot commands (when not using slash commands)
* @example !bot
* @default !mark
* @env CRON_SCHEDULE
* @env MESSAGE_COMMAND_PREFIX
*/
@IsOptional()
@IsString()
commandPrefix = process.env.COMMAND_PREFIX || '!mark';
messageCommandPrefix = process.env.MESSAGE_COMMAND_PREFIX || '!mark';
/**
* The slash command name to generate a message from the bot. (e.g. `/mark`)
* @example message
* @default mark
* @env SLASH_COMMAND_NAME
*/
@IsOptional()
@IsString()
slashCommandName = process.env.SLASH_COMMAND_NAME || 'mark';
/**
* The activity status shown under the bot's name in the user list