Files
discord-bots/src/boredBot/commands.ts
2025-05-03 11:56:12 +02:00

18 lines
510 B
TypeScript

import { SlashCommandBuilder } from "discord.js";
import { Command } from "../discordBot/types";
export const boredBotCommands = [
new SlashCommandBuilder()
.setName(Command.Roll)
.setDescription("Roll dice (e.g. 'd20', '6d12-4', '2d8 + 1d6+4')")
.addStringOption((option) =>
option
.setName("input")
.setDescription("The dice you want to roll")
.setRequired(true),
),
new SlashCommandBuilder()
.setName(Command.Help)
.setDescription("Displays a list of available commands."),
];