import { Command, CommandoMessage } from 'discord.js-commando'; import ct from 'culturedtext'; import emoji from 'emoji-random'; module.exports = class OddcaseFun extends Command { constructor(client) { super(client, { name: 'oddcase', group: 'fun', memberName: 'oddcase', description: 'Oddcases anything you send.', args: [ { key: 'userMsg', prompt: 'What would you like to oddcase?', type: 'string' } ], examples: [ 'uwu!oddcase please oddcase this' ], userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], }); } run(msg: CommandoMessage, { userMsg }) { var m = userMsg; var u1 = ct.oddcase(m); msg.reply(u1 + ' ' + emoji.random()); msg.delete(); } };