aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorTrey <trey6979@gmail.com>2018-02-23 19:54:28 -0500
committerTrey <trey6979@gmail.com>2018-02-23 19:54:28 -0500
commit8b805c88746c002439d0504d2b03b4e13ff59b4a (patch)
tree7896b0f70e7e755f8b1ebe79e7e4cdca84ec4bc9 /bot.js
parent8b10be8622c2d6e218749574540066472a97ce5c (diff)
parent9ca9a972e321190975ff3234bcf24a705d90b198 (diff)
downloadPokeBot-8b805c88746c002439d0504d2b03b4e13ff59b4a.tar.gz
PokeBot-8b805c88746c002439d0504d2b03b4e13ff59b4a.tar.bz2
PokeBot-8b805c88746c002439d0504d2b03b4e13ff59b4a.zip
again vscode anally raping my files
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js18
1 files changed, 10 insertions, 8 deletions
diff --git a/bot.js b/bot.js
index 2fb11ae..7140aed 100644
--- a/bot.js
+++ b/bot.js
@@ -45,14 +45,16 @@ function parseCommand(msg) {
msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping) + 'ms.');
break;
case 'suggest':
- //bot.channels.get('416726932927938570').send(
- //new Discord.RichEmbed()
- //.setColor (0x00ae86)
- //.setTitle('Suggestion')
- //.setDescription('This is a suggestion from a community member for something relating to the server. Please rate it based on your opinion, and a staff member will decide what to do with the suggestion.')
- //.addField('Suggestion Contents', args.join(' '))
- //);
- bot.channels.get('416726932927938570').send(args.join(' '));
+ bot.channels.get('416726932927938570').send(
+ new Discord.RichEmbed()
+ .setColor (0x00ae86)
+ .setTitle('Suggestion')
+ .setDescription('This is a suggestion from a community member for something relating to the server. Please rate it based on your opinion, and a staff member will decide what to do with the suggestion.')
+ .addField('Suggestion Contents', args.join(' '))
+ ).then(message => {
+ message.react('\u2705');
+ message.react('\u274E');
+ });
break;
}
}