aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/bot.js b/bot.js
index d32c765..ac661c7 100644
--- a/bot.js
+++ b/bot.js
@@ -45,12 +45,10 @@ function parseCommand(msg) {
msg.channel.send(':ping_pong: Pong! ' + Math.floor(bot.ping) + 'ms.');
break;
case 'suggest':
- var suggestionAuthor = msg.author.id;
-
bot.channels.get('416726932927938570').send(
new Discord.RichEmbed()
.setColor (0x00ae86)
- .setAuthor(`${suggestionAuthor.user.tag}`, msg.author.displayavatarURL)
+ .setAuthor(msg.author.tag, msg.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 => {