aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
authorTrey <trey6979@gmail.com>2018-02-23 20:02:47 -0500
committerTrey <trey6979@gmail.com>2018-02-23 20:02:47 -0500
commita3cd86b5dd64cb81e29de7d7d70f91de4c56fed0 (patch)
tree4bb2c68ae06798a47052df7bb8d481b1ad35b93e /bot.js
parentc9159278e8adca55b69547b2fbba3d091971aaf4 (diff)
downloadPokeBot-a3cd86b5dd64cb81e29de7d7d70f91de4c56fed0.tar.gz
PokeBot-a3cd86b5dd64cb81e29de7d7d70f91de4c56fed0.tar.bz2
PokeBot-a3cd86b5dd64cb81e29de7d7d70f91de4c56fed0.zip
ficks
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.js b/bot.js
index dc47bcf..5f227cb 100644
--- a/bot.js
+++ b/bot.js
@@ -50,7 +50,7 @@ function parseCommand(msg) {
bot.channels.get('416726932927938570').send(
new Discord.RichEmbed()
.setColor (0x00ae86)
- .setAuthor(`${suggestionAuthor.user.tag}`, suggestionAuthor.avatarURL)
+ .setAuthor(`${suggestionAuthor.user.tag}`, message.author.displayavatarURL)
.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 => {