Merge bro hoof and fist bump

This commit is contained in:
Dragon Fire
2018-09-03 15:16:39 -04:00
parent 905df40d98
commit 2213cc0735
5 changed files with 3 additions and 30 deletions
-1
View File
@@ -44,7 +44,6 @@ YODA_KEY=
# Imgur album IDs # Imgur album IDs
BREAK_UP_ALBUM_ID= BREAK_UP_ALBUM_ID=
BRO_HOOF_ALBUM_ID=
CUDDLE_ALBUM_ID= CUDDLE_ALBUM_ID=
EAT_ALBUM_ID= EAT_ALBUM_ID=
EVOLVE_ALBUM_ID= EVOLVE_ALBUM_ID=
+1 -2
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 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). on the [home server](https://discord.gg/sbMe32W).
## Commands (303) ## Commands (302)
### Utility: ### Utility:
* **eval**: Executes JavaScript code. * **eval**: Executes JavaScript code.
@@ -342,7 +342,6 @@ on the [home server](https://discord.gg/sbMe32W).
### Roleplay: ### Roleplay:
* **break-up**: Breaks up with a user. * **break-up**: Breaks up with a user.
* **bro-hoof**: Gives a user a bro-hoof.
* **cuddle**: Cuddles a user. * **cuddle**: Cuddles a user.
* **eat**: Eats a user. * **eat**: Eats a user.
* **evolve**: Evolves a user. * **evolve**: Evolves a user.
-26
View File
@@ -1,26 +0,0 @@
const RoleplayCommand = require('../../structures/commands/Roleplay');
const { BRO_HOOF_ALBUM_ID } = process.env;
module.exports = class BroHoofCommand extends RoleplayCommand {
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,6 +5,7 @@ module.exports = class FistBumpCommand extends RoleplayCommand {
constructor(client) { constructor(client) {
super(client, { super(client, {
name: 'fist-bump', name: 'fist-bump',
aliases: ['bro-hoof'],
group: 'roleplay', group: 'roleplay',
memberName: 'fist-bump', memberName: 'fist-bump',
description: 'Fist-bumps a user.', description: 'Fist-bumps a user.',
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "xiao", "name": "xiao",
"version": "89.0.1", "version": "89.0.2",
"description": "Your personal server companion.", "description": "Your personal server companion.",
"main": "Xiao.js", "main": "Xiao.js",
"scripts": { "scripts": {