diff --git a/.env.example b/.env.example index a3841981..92614ff8 100644 --- a/.env.example +++ b/.env.example @@ -44,6 +44,7 @@ YODA_KEY= # Imgur album IDs BLUSH_ALBUM_ID= +BRO_HOOF_ALBUM_ID= EAT_ALBUM_ID= FIDGET_ALBUM_ID= FIST_BUMP_ALBUM_ID= diff --git a/README.md b/README.md index 83f04491..75d193ca 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 (297) +## Commands (298) ### Utility: * **eval**: Executes JavaScript code. @@ -342,6 +342,7 @@ on the [home server](https://discord.gg/sbMe32W). ### Roleplay: * **blush**: Blushes at a user. +* **bro-hoof**: Gives a user a bro hoof. * **eat**: Eats a user. * **fist-bump**: Fistbumps a user. * **high-five**: High Fives a user. diff --git a/commands/roleplay/bro-hoof.js b/commands/roleplay/bro-hoof.js new file mode 100644 index 00000000..8db51f69 --- /dev/null +++ b/commands/roleplay/bro-hoof.js @@ -0,0 +1,26 @@ +const ImgurAlbumCommand = require('../../structures/commands/ImgurAlbum'); +const { BRO_HOOF_ALBUM_ID } = process.env; + +module.exports = class BroHoofCommand extends ImgurAlbumCommand { + constructor(client) { + super(client, { + name: 'bro-hoof', + group: 'roleplay', + memberName: 'bro-hoof', + description: 'Gives a user a bro hoof.', + clientPermissions: ['ATTACH_FILES'], + albumID: BRO_HOOF_ALBUM_ID, + args: [ + { + key: 'user', + prompt: 'What user do you want to roleplay with?', + type: 'user' + } + ] + }); + } + + generateText(msg, user) { + return `_**${msg.author.username}** gives **${user.username}** a bro hoof._`; + } +}; diff --git a/commands/roleplay/fist-bump.js b/commands/roleplay/fist-bump.js index 4f327949..2b6c7fa1 100644 --- a/commands/roleplay/fist-bump.js +++ b/commands/roleplay/fist-bump.js @@ -5,7 +5,6 @@ module.exports = class FistBumpCommand extends ImgurAlbumCommand { constructor(client) { super(client, { name: 'fist-bump', - aliases: ['bro-hoof'], group: 'roleplay', memberName: 'fist-bump', description: 'Fist-bumps a user.', diff --git a/package.json b/package.json index 2905b961..4bf1dd75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "90.0.6", + "version": "90.0.7", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {