Fix challenger flags

This commit is contained in:
Dragon Fire
2024-03-30 00:14:21 -04:00
parent 4674fc8d45
commit c258b41dae
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ module.exports = class ChallengerCommand extends Command {
} }
async run(msg, { image, flags }) { async run(msg, { image, flags }) {
const silhouetted = flags.show || flags.s; const silhouetted = !(flags.show || flags.s);
const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'challenger.png')); const base = await loadImage(path.join(__dirname, '..', '..', 'assets', 'images', 'challenger.png'));
const { body } = await request.get(image); const { body } = await request.get(image);
const data = await loadImage(body); const data = await loadImage(body);
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = class ApplesToApplesCommand extends Command {
type: 'integer', type: 'integer',
max: 20, max: 20,
min: 1 min: 1
}, }
] ]
}); });
} }