Say Command
Simple tutorial for making the bot say specific messages.
const { SlashCommandBuilder } = require("discord.js");
module.exports = {
data: new SlashCommandBuilder()
.setName('say')
.setDescription('Say a message, as the bot')
.addStringOption(option => (
option,
.setName('message')
.setDescription('The message to say')
.setRequired(true)
)),
run: async ({ client, interaction }) => {},
};const message = interaction.options.getString("message");Last updated