mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-14 00:08:06 +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);
|
||||
|
||||
Reference in New Issue
Block a user