mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
Merge hug, cuddle, and tackle
This commit is contained in:
@@ -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}**._`;
|
||||
}
|
||||
};
|
||||
@@ -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.',
|
||||
|
||||
@@ -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}**._`;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user