mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix challenger flags
This commit is contained in:
@@ -53,7 +53,7 @@ module.exports = class ChallengerCommand extends Command {
|
||||
}
|
||||
|
||||
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 { body } = await request.get(image);
|
||||
const data = await loadImage(body);
|
||||
|
||||
@@ -46,7 +46,7 @@ module.exports = class ApplesToApplesCommand extends Command {
|
||||
type: 'integer',
|
||||
max: 20,
|
||||
min: 1
|
||||
},
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user