From 8c435855e647ee7aef8578e253caf91fe44c67cc Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 16 Apr 2020 04:56:37 -0700 Subject: The Purification, v7.0.0 add: - aesthetic, oddcase, stretch, surreal - culturedtext - dogeify - howify - insult - lorem - spongebob Other Stuff: - many refactoring --- src/commands/fun/insult.ts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/commands/fun/insult.ts (limited to 'src/commands/fun/insult.ts') diff --git a/src/commands/fun/insult.ts b/src/commands/fun/insult.ts new file mode 100644 index 0000000..aec2219 --- /dev/null +++ b/src/commands/fun/insult.ts @@ -0,0 +1,21 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import insult from 'insult'; +import emoji from 'emoji-random'; + +module.exports = class InsultFun extends Command { + constructor(client) { + super(client, { + name: 'insult', + aliases: ['insults'], + group: 'fun', + memberName: 'insult', + description: 'Gives you a random insult.', + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + examples: ['uwu!insult', 'uwu!insults'] + }); + } + run(msg: CommandoMessage) { + msg.reply(insult.Insult() + ' ' + emoji.random()) + } +}; \ No newline at end of file -- cgit v1.2.3