They are not downvotes, but comment

This commit is contained in:
Loïc Bersier 2019-07-24 02:30:25 +02:00
parent 50575fd3b9
commit 294a372002

View file

@ -47,7 +47,7 @@ class RedditCommand extends Command {
.setTitle(response.data.children[i].data.title) .setTitle(response.data.children[i].data.title)
.setDescription(response.data.children[i].data.selftext) .setDescription(response.data.children[i].data.selftext)
.setURL('https://reddit.com' + response.data.children[i].data.permalink) .setURL('https://reddit.com' + response.data.children[i].data.permalink)
.setFooter(`/r/${response.data.children[i].data.subreddit} | ⬆ ${response.data.children[i].data.ups} ${response.data.children[i].data.num_comments}`); .setFooter(`/r/${response.data.children[i].data.subreddit} | ⬆ ${response.data.children[i].data.ups} 🗨 ${response.data.children[i].data.num_comments}`);
message.channel.send(redditEmbed); message.channel.send(redditEmbed);
message.channel.send(response.data.children[i].data.url); message.channel.send(response.data.children[i].data.url);