From be7b74e5d891273dbdad5c695d4990de8de4f970 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Fri, 12 Oct 2018 23:39:45 +0000 Subject: [PATCH] Remove r/bongocat from memes --- assets/json/meme.json | 3 +-- commands/random/meme.js | 2 +- commands/random/reddit.js | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/assets/json/meme.json b/assets/json/meme.json index 66f6a919..4500a8b0 100644 --- a/assets/json/meme.json +++ b/assets/json/meme.json @@ -12,6 +12,5 @@ "animemes", "programmerhumor", "bikinibottomtwitter", - "prequelmemes", - "bongocat" + "prequelmemes" ] diff --git a/commands/random/meme.js b/commands/random/meme.js index 4bc5c5ce..9548dc32 100644 --- a/commands/random/meme.js +++ b/commands/random/meme.js @@ -12,7 +12,7 @@ module.exports = class MemeCommand extends SubredditCommand { description: 'Responds with a random meme.', details: `**Subreddits:** ${subreddits.join(', ')}`, clientPermissions: ['ATTACH_FILES'], - postType: ['image', 'rich:video'], + postType: 'image', args: [ { key: 'subreddit', diff --git a/commands/random/reddit.js b/commands/random/reddit.js index f0fa4a0e..97097d64 100644 --- a/commands/random/reddit.js +++ b/commands/random/reddit.js @@ -28,7 +28,7 @@ module.exports = class RedditCommand extends SubredditCommand { .setTitle(post.title) .setImage(post.post_hint === 'image' ? post.url : null) .setURL(`https://www.reddit.com${post.permalink}`) - .setTimestamp(post.created_utc * 1000) + .setTimestamp(post.created * 1000) .setFooter(`⬆ ${post.ups}`); } }; diff --git a/package.json b/package.json index d96e44c4..8632692a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "94.1.1", + "version": "94.1.2", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {