mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 08:14:47 +02:00
Convert everything to superagent properly
This commit is contained in:
@@ -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.');
|
||||
|
||||
Reference in New Issue
Block a user