import { Command, CommandoMessage } from 'discord.js-commando'; module.exports = class SayFun extends Command { constructor(client) { super(client, { name: 'say', group: 'fun', memberName: 'say', description: 'Allows you to speak as the bot.', args: [ { key: 'say', prompt: 'What would you like to send?', type: 'string' } ], examples: ['uwu!say hi'], throttling: { usages: 5, duration: 30 }, userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'] }); } run(msg: CommandoMessage, { say }) { msg.say(say) msg.delete(); } };