diff options
| author | Trey <trey6979@gmail.com> | 2018-02-23 19:59:48 -0500 |
|---|---|---|
| committer | Trey <trey6979@gmail.com> | 2018-02-23 19:59:48 -0500 |
| commit | c9159278e8adca55b69547b2fbba3d091971aaf4 (patch) | |
| tree | 519bec3402727ac9c2948a8c217b22a10f2beaac | |
| parent | f8e1cad58cc8c241980b432aee0a0863bdd507b1 (diff) | |
| download | PokeBot-c9159278e8adca55b69547b2fbba3d091971aaf4.tar.gz PokeBot-c9159278e8adca55b69547b2fbba3d091971aaf4.tar.bz2 PokeBot-c9159278e8adca55b69547b2fbba3d091971aaf4.zip | |
added some fanciness
| -rw-r--r-- | bot.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -45,10 +45,12 @@ function parseCommand(msg) { msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping) + 'ms.'); break; case 'suggest': + var suggestionAuthor = message.author.id; + bot.channels.get('416726932927938570').send( new Discord.RichEmbed() .setColor (0x00ae86) - .setTitle('Suggestion') + .setAuthor(`${suggestionAuthor.user.tag}`, suggestionAuthor.avatarURL) .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 => { |
