From 6de8339c39393486b246229beb57eebd97c68829 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 4 Sep 2018 17:36:05 +0000 Subject: [PATCH] More subreddits for memes --- assets/json/meme.json | 13 +++++++++++++ commands/random/meme.js | 2 +- package.json | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 assets/json/meme.json diff --git a/assets/json/meme.json b/assets/json/meme.json new file mode 100644 index 00000000..ebee7cca --- /dev/null +++ b/assets/json/meme.json @@ -0,0 +1,13 @@ +[ + "memes", + "surrealmemes", + "MemeEconomy", + "wholesomememes", + "tumblr", + "me_irl", + "meirl", + "blessedimages", + "HistoryMemes", + "WhitePeopleTwitter", + "coaxedintoasnafu" +] diff --git a/commands/random/meme.js b/commands/random/meme.js index 8596b8df..146d5681 100644 --- a/commands/random/meme.js +++ b/commands/random/meme.js @@ -1,7 +1,7 @@ const Command = require('../../structures/Command'); const request = require('node-superfetch'); const { stripIndents } = require('common-tags'); -const subreddits = ['memes', 'surrealmemes', 'MemeEconomy', 'wholesomememes', 'tumblr', 'me_irl', 'blessedimages']; +const subreddits = require('../../assets/json/meme'); module.exports = class MemeCommand extends Command { constructor(client) { diff --git a/package.json b/package.json index c849df2b..02eb10d8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "90.0.3", + "version": "90.0.4", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {