mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Remove stragglers
This commit is contained in:
@@ -28,7 +28,6 @@ module.exports = class YearsCommand extends Command {
|
||||
}
|
||||
|
||||
async run(msg, { user }) {
|
||||
if (!user) user = msg.author;
|
||||
const avatarURL = user.displayAvatarURL({ format: 'png', size: 256 });
|
||||
try {
|
||||
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', '3000-years.png'));
|
||||
|
||||
@@ -28,7 +28,6 @@ module.exports = class RainbowCommand extends Command {
|
||||
}
|
||||
|
||||
async run(msg, { user }) {
|
||||
if (!user) user = msg.author;
|
||||
const avatarURL = user.displayAvatarURL({ format: 'png', size: 512 });
|
||||
try {
|
||||
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'rainbow.png'));
|
||||
|
||||
@@ -24,7 +24,6 @@ module.exports = class GuessLooksCommand extends Command {
|
||||
}
|
||||
|
||||
run(msg, { user }) {
|
||||
if (!user) user = msg.author;
|
||||
const gender = genders[Math.floor(Math.random() * genders.length)];
|
||||
const eyeColor = eyeColors[Math.floor(Math.random() * eyeColors.length)];
|
||||
const hairColor = hairColors[Math.floor(Math.random() * hairColors.length)];
|
||||
|
||||
Reference in New Issue
Block a user