Unmerge bro-hoof and fist-bump

This commit is contained in:
danielbodendahl
2018-09-04 22:38:53 -04:00
parent a336e9a5c0
commit 1ee36ef8eb
5 changed files with 30 additions and 3 deletions
+1
View File
@@ -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=
+2 -1
View File
@@ -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.
+26
View File
@@ -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._`;
}
};
-1
View File
@@ -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.',
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "90.0.6",
"version": "90.0.7",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {