17 lines
446 B
JavaScript
17 lines
446 B
JavaScript
const { Client, Message, Util } = require("discord.js");
|
|
module.exports = {
|
|
name: "say",
|
|
description: "Pretend a bot to say",
|
|
usage: "(Words)",
|
|
category: "Fun",
|
|
/**
|
|
* @param {Client} client
|
|
* @param {Message} message
|
|
* @param {String[]} args
|
|
*/
|
|
run: async (client, message, args) => {
|
|
if (!args.length) return;
|
|
message.delete();
|
|
return message.channel.send(Util.cleanContent(args.join(" "), message));
|
|
},
|
|
};
|