nyx/commands/Fun/say.js

13 lines
348 B
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const { Client, Message, Util } = require("discord.js");
module.exports = {
name: "say",
description: "Pretend a bot to say",
usage: "(Words)",
category: "Fun",
run: async (client, message, args) => {
if (!args.length) return;
message.delete();
return message.channel.send(Util.cleanContent(args.join(" "), message));
},
};