src/interactions/commands/bug/help.ts (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import type { ChatInputCommandInteraction, Client } from "discord.js";
export async function execute(
_client: Client,
interaction: ChatInputCommandInteraction,
) {
const tgtUser = interaction.options.getUser("user", true);
const command = `</bug report:${interaction.commandId}>`;
await interaction.reply({
content: `📝 <@${tgtUser.id}>, you can use the ${command} command to report bugs, it will show a popup where you can enter the bug details and attach a relevant piece of media.`,
});
}
export const helpCommand = {
execute,
};
|