diff options
| author | 8cy <[email protected]> | 2020-07-07 21:31:20 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-07-07 21:31:20 -0700 |
| commit | 6bf23f1213c1d35fa414b1d243af5052a3910350 (patch) | |
| tree | fbb1f255166646ca34bfaf990e9a9cb108c65314 /src/commands/fun/modplz.ts | |
| parent | ugly cat command (diff) | |
| download | dep-core-6bf23f1213c1d35fa414b1d243af5052a3910350.tar.xz dep-core-6bf23f1213c1d35fa414b1d243af5052a3910350.zip | |
mdplz
Diffstat (limited to 'src/commands/fun/modplz.ts')
| -rw-r--r-- | src/commands/fun/modplz.ts | 29 |
1 files changed, 29 insertions, 0 deletions
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 |