Merge hug, cuddle, and tackle

This commit is contained in:
Dragon Fire
2018-09-03 15:32:36 -04:00
parent 2213cc0735
commit 01da85ff86
6 changed files with 3 additions and 59 deletions
-2
View File
@@ -44,7 +44,6 @@ YODA_KEY=
# Imgur album IDs
BREAK_UP_ALBUM_ID=
CUDDLE_ALBUM_ID=
EAT_ALBUM_ID=
EVOLVE_ALBUM_ID=
FIDGET_ALBUM_ID=
@@ -62,7 +61,6 @@ POSTER_ALBUM_ID=
PUNCH_ALBUM_ID=
SLAP_ALBUM_ID=
SLEEP_ALBUM_ID=
TACKLE_ALBUM_ID=
WAKE_UP_ALBUM_ID=
WAVE_ALBUM_ID=
WINK_ALBUM_ID=
+1 -3
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 (302)
## Commands (300)
### Utility:
* **eval**: Executes JavaScript code.
@@ -342,7 +342,6 @@ on the [home server](https://discord.gg/sbMe32W).
### Roleplay:
* **break-up**: Breaks up with a user.
* **cuddle**: Cuddles a user.
* **eat**: Eats a user.
* **evolve**: Evolves a user.
* **fist-bump**: Fistbumps a user.
@@ -358,7 +357,6 @@ on the [home server](https://discord.gg/sbMe32W).
* **punch**: Punches a user.
* **slap**: Slaps a user.
* **sleep**: Puts a user to sleep.
* **tackle**: Tackles a user.
* **wake-up**: Wakes up a user.
* **wave**: Waves at a user.
* **wink**: Winks at a user.
-26
View File
@@ -1,26 +0,0 @@
const RoleplayCommand = require('../../structures/commands/Roleplay');
const { CUDDLE_ALBUM_ID } = process.env;
module.exports = class CuddleCommand extends RoleplayCommand {
constructor(client) {
super(client, {
name: 'cuddle',
group: 'roleplay',
memberName: 'cuddle',
description: 'Cuddles a user.',
clientPermissions: ['ATTACH_FILES'],
albumID: CUDDLE_ALBUM_ID,
args: [
{
key: 'user',
prompt: 'What user do you want to roleplay with?',
type: 'user'
}
]
});
}
generateText(msg, user) {
return `_**${msg.author.username}** cuddles with **${user.username}**._`;
}
};
+1
View File
@@ -5,6 +5,7 @@ module.exports = class HugCommand extends RoleplayCommand {
constructor(client) {
super(client, {
name: 'hug',
aliases: ['cuddle', 'glomp', 'tackle', 'tackle-hug'],
group: 'roleplay',
memberName: 'hug',
description: 'Hugs a user.',
-27
View File
@@ -1,27 +0,0 @@
const RoleplayCommand = require('../../structures/commands/Roleplay');
const { TACKLE_ALBUM_ID } = process.env;
module.exports = class TackleCommand extends RoleplayCommand {
constructor(client) {
super(client, {
name: 'tackle',
aliases: ['glomp', 'tackle-hug'],
group: 'roleplay',
memberName: 'tackle',
description: 'Tackles a user.',
clientPermissions: ['ATTACH_FILES'],
albumID: TACKLE_ALBUM_ID,
args: [
{
key: 'user',
prompt: 'What user do you want to roleplay with?',
type: 'user'
}
]
});
}
generateText(msg, user) {
return `_**${msg.author.username}** tackles **${user.username}**._`;
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "89.0.2",
"version": "89.0.3",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {