mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 00:09:08 +02:00
The Power of const
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = class CuddleCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *cuddles* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class DivorceCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *divorces* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class EatCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *eats* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class FalconPunchCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *falcon punches* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class FistBumpCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *fist-bumps* ${thingToRoleplay} *badalalala*`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class HighFivesCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *high-fives* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class HitwithShovelCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *hits* ${thingToRoleplay} *with a shovel*`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class HugCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *hugs* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class InhaleCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *inhales* ${thingToRoleplay} *but gained no ability...*`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class KillCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *kills* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class KissCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *kisses* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class MarryCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *marries* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class PatCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *pats* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class PokeCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *pokes* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class PunchCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *punches* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = class SlapCommand extends commando.Command {
|
||||
if (!message.channel.permissionsFor(this.client.user).hasPermission(['SEND_MESSAGES', 'READ_MESSAGES'])) return;
|
||||
}
|
||||
console.log(`[Command] ${message.content}`);
|
||||
let thingToRoleplay = args.thing;
|
||||
const thingToRoleplay = args.thing;
|
||||
return message.say(`${message.author} *slaps* ${thingToRoleplay}`);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user