Animal Crossing speak, morse encode/decode

This commit is contained in:
Daniel Odendahl Jr
2017-12-20 15:24:51 +00:00
parent c9c4d6cabe
commit 1c684fa7f1
41 changed files with 83 additions and 9 deletions
+1 -4
View File
@@ -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!`);