1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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)
}
};
|