From ec83feaeca8139b44971a95fe849c8554c8b46c6 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 13 Sep 2018 23:10:42 +0000 Subject: [PATCH] Karen Command is back! Ayaya! --- .env.example | 1 + README.md | 3 ++- commands/random/karen.js | 20 ++++++++++++++++++++ package.json | 2 +- 4 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 commands/random/karen.js diff --git a/.env.example b/.env.example index d36fd0f3..aca82b25 100644 --- a/.env.example +++ b/.env.example @@ -50,6 +50,7 @@ FIST_BUMP_ALBUM_ID= HIGH_FIVE_ALBUM_ID= HOLD_HANDS_ALBUM_ID= HUG_ALBUM_ID= +KAREN_ALBUM_ID= KILL_ALBUM_ID= KISS_ALBUM_ID= PAT_ALBUM_ID= diff --git a/README.md b/README.md index e223618a..edaffc89 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Xiao is a Discord bot coded in JavaScript with The bot is no longer available for invite. You can self-host the bot, or use her on the [home server](https://discord.gg/sbMe32W). -## Commands (306) +## Commands (307) ### Utility: * **eval:** Executes JavaScript code. @@ -63,6 +63,7 @@ on the [home server](https://discord.gg/sbMe32W). * **fox:** Responds with a random fox image. * **github-zen:** Responds with a random GitHub design philosophy. * **joke:** Responds with a random joke. +* **karen:** Responds with a random image of Karen. * **kiss-marry-kill:** Determines who to kiss, who to marry, and who to kill. * **magic-conch:** Asks your question to the Magic Conch. * **meme:** Responds with a random meme. diff --git a/commands/random/karen.js b/commands/random/karen.js new file mode 100644 index 00000000..9f7508b2 --- /dev/null +++ b/commands/random/karen.js @@ -0,0 +1,20 @@ +const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); +const { KAREN_ALBUM_ID } = process.env; + +module.exports = class KarenCommand extends ImgurAlbumCommand { + constructor(client) { + super(client, { + name: 'karen', + aliases: ['ayaya'], + group: 'random', + memberName: 'karen', + description: 'Responds with a random image of Karen.', + clientPermissions: ['ATTACH_FILES'], + albumID: KAREN_ALBUM_ID + }); + } + + generateText() { + return 'Ayaya!'; + } +}; diff --git a/package.json b/package.json index af8e4650..21f72adc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "91.1.7", + "version": "91.2.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {