Files
mafuyu-kirisu/commands/utils/help.ts
konchin 2d7361e937
Some checks failed
release-tag / release-image (push) Failing after 1m14s
initial commit
2024-10-11 19:49:58 +08:00

20 lines
575 B
TypeScript

import {CommandInteraction} from 'discord.js';
import {Command} from '../../classes/command';
import {logger} from '../../logger';
import {config} from '../../config';
class Help extends Command{
get name(){return "help";}
get description(){return "Help messages.";}
async execute(interaction: CommandInteraction): Promise<void>{
await interaction.reply({content:
"# [Help](https://hello.konchin.com)\n"+
`Read the documentation at [this link](${config.helpUrl})\n`
});
logger.log(`Command: help`);
}
};
export const command = new Help();