-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelper.js
41 lines (33 loc) · 1.28 KB
/
helper.js
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
30
31
32
33
34
35
36
37
38
39
40
41
function loadCommand(bot) {
}
function genericThumbnail() {
return 'https://orig00.deviantart.net/ad07/f/2017/279/0/5/destiny_2_by_frostyhonky-dbpr9n8.png';
}
function genericColor() {
return '#0000ff';
}
module.exports = {
loadCommand,
genericThumbnail,
genericColor
};
// let cmdMsg = helper.parseMessage(message.content);
// console.log(cmdMsg.args.options);
//
// let embed = new Discord.RichEmbed()
// .setColor(helper.pickActivityColor(cmdMsg.args.options.type)) // depends on activity type? (green pve, red pvp)
// .setThumbnail(helper.pickActivityThumbnail(cmdMsg.args.options.type))
// .setAuthor(message.author.username, message.author.avatarURL)
// .addField(cmdMsg.args.options.name, 'Starts in `6 minutes`', false)
// .addField('Date / Time', `${cmdMsg.args.options.date} ${cmdMsg.args.options.time}`, true)
// .addField('Players', cmdMsg.args.options.players, true)
// .addBlankField()
// .addField(`✅ Participants (0/${cmdMsg.args.options.players})`, '```None```')
// .addField(`🕒 Backup list (0)`, '```None```')
// .setTimestamp();
//
// message.channel.send(embed).then(async embedActivity => {
// await embedActivity.react('✅');
// await embedActivity.react('❎');
// await embedActivity.react('🕒');
// });