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
-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}**._`;
}
};