From 6bf23f1213c1d35fa414b1d243af5052a3910350 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Tue, 7 Jul 2020 21:31:20 -0700 Subject: mdplz --- src/commands/fun/modplz.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/commands/fun/modplz.ts (limited to 'src/commands/fun/modplz.ts') diff --git a/src/commands/fun/modplz.ts b/src/commands/fun/modplz.ts new file mode 100644 index 0000000..14f9955 --- /dev/null +++ b/src/commands/fun/modplz.ts @@ -0,0 +1,29 @@ +import { Command, CommandoMessage, CommandoClient } from 'discord.js-commando'; +import { MessageEmbed } from 'discord.js'; + +module.exports = class ModPlzFun extends Command { + constructor(client: CommandoClient) { + super(client, { + name: 'modplz', + group: 'fun', + memberName: 'modplz', + description: 'Send this when someone talking about mods.', + examples: [ + 'uwu!modplz' + ], + userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'], + throttling: { + usages: 5, + duration: 30 + }, + }); + } + run(msg: CommandoMessage) { + msg.delete() + let emb = new MessageEmbed() + .setColor(0xFFD0DF) + .setImage('https://discordapp.com/channels/663964105983393793/664659637039005696/730279064132255794') + return msg.say(emb) + } +}; \ No newline at end of file -- cgit v1.2.3