mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
Animal Crossing speak, morse encode/decode
This commit is contained in:
@@ -22,10 +22,7 @@ module.exports = class QRCodeCommand extends Command {
|
||||
try {
|
||||
const { body } = await snekfetch
|
||||
.get('https://api.qrserver.com/v1/create-qr-code/')
|
||||
.query({
|
||||
data: text,
|
||||
size: '500x500'
|
||||
});
|
||||
.query({ data: text });
|
||||
return msg.say({ files: [{ attachment: body, name: 'qr-code.png' }] });
|
||||
} catch (err) {
|
||||
return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
|
||||
|
||||
Reference in New Issue
Block a user