17 lines
564 B
JavaScript
17 lines
564 B
JavaScript
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);
|
|
},
|
|
}; |