say command
Build and Push Docker Image / build (push) Successful in 3m9s

This commit is contained in:
2026-07-18 14:40:32 -04:00
parent 020c4dcee2
commit 9156f970ec
+17
View File
@@ -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);
},
};