From 9156f970ecd27484b8486c92d432b807ce570a9a Mon Sep 17 00:00:00 2001 From: Kira Date: Sat, 18 Jul 2026 14:40:32 -0400 Subject: [PATCH] say command --- commands/say.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 commands/say.js diff --git a/commands/say.js b/commands/say.js new file mode 100644 index 0000000..76e2aad --- /dev/null +++ b/commands/say.js @@ -0,0 +1,17 @@ +const { SlashCommandBuilder, ActivityType } = require('discord.js'); + +module.exports = { + data: new SlashCommandBuilder() + .setName('say') + .setDescription('make say funny') + .addStringOption(option => + option.setName('message') + .setDescription('The say') + .setRequired(true) + ), + async execute(interaction) { + const message = interaction.options.getString('message'); + console.log(`${interaction.user.tag} made the bot say "${message}"`); + interaction.channel.send(message); + }, +}; \ No newline at end of file