Files
dj-spangebob/src/commands/help.ts
2026-01-03 21:02:26 +01:00

21 lines
447 B
TypeScript

import { CacheType, ChatInputCommandInteraction, SlashCommandBuilder } from 'discord.js';
import { msg_help } from '../messages';
const name = "help"
function register() {
return new SlashCommandBuilder()
.setName(name)
.setDescription('Pomoc')
}
async function execute(interaction: ChatInputCommandInteraction<CacheType>) {
await interaction.reply(msg_help());
}
export default {
name,
register,
execute
}