mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
Fix lint
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = class CreateQRCodeCommand extends Command {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async run(msg, { text }) {
|
run(msg, { text }) {
|
||||||
const qr = this.createQRCode(text);
|
const qr = this.createQRCode(text);
|
||||||
return msg.say({ files: [{ attachment: qr, name: 'qr-code.png' }] });
|
return msg.say({ files: [{ attachment: qr, name: 'qr-code.png' }] });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user