From 657599acccf351c7c9366cec9f648b7496c89bdb Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 1 Apr 2025 21:52:44 -0400 Subject: New commands (warn, adventure); Splitting log channels --- bot/src/commands/warn.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bot/src/commands/warn.js (limited to 'bot/src/commands/warn.js') diff --git a/bot/src/commands/warn.js b/bot/src/commands/warn.js new file mode 100644 index 0000000..a053c12 --- /dev/null +++ b/bot/src/commands/warn.js @@ -0,0 +1,12 @@ +import { PermissionFlagsBits, SlashCommandBuilder } from 'discord.js'; + +export default { + data: new SlashCommandBuilder() + .setName('warn') + .setDescription('Warns a member of the server') + .setContexts(0) + .setDefaultMemberPermissions(PermissionFlagsBits.KickMembers), + async execute(interaction) { + return await interaction.reply('Hello world'); + } +}; -- cgit v1.2.3