Convert everything to superagent properly

This commit is contained in:
Daniel Odendahl Jr
2018-06-08 15:36:21 +00:00
parent 63f3398858
commit b4c815f403
17 changed files with 163 additions and 155 deletions
+1 -2
View File
@@ -33,8 +33,7 @@ module.exports = class RedditCommand extends Command {
**${post.title}**
<https://www.reddit.com${post.permalink}>
${post.ups}
${post.downs}
${post.ups}${post.downs}
`);
} catch (err) {
if (err.status === 403) return msg.say('This subreddit is private.');