diff --git a/package.json b/package.json index 6adcceb3..879b1ff1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "92.2.4", + "version": "92.2.5", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": { diff --git a/structures/commands/Subreddit.js b/structures/commands/Subreddit.js index dbcda6df..ebe025d1 100644 --- a/structures/commands/Subreddit.js +++ b/structures/commands/Subreddit.js @@ -28,12 +28,8 @@ module.exports = class SubredditCommand extends Command { async random(subreddit, nsfw) { const { body } = await request - .get(`https://www.reddit.com/r/${subreddit}/top.json`) - .query({ - sort: 'top', - t: 'day', - limit: 100 - }); + .get(`https://www.reddit.com/r/${subreddit}/hot.json`) + .query({ limit: 100 }); if (!body.data.children.length) return null; const posts = body.data.children.filter(post => { if (!post.data) return false;