Create a QR code from Discord using the qrcode api! Use the command !qr then after that put the URL you would like the code to go to
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let url = context.params.event.content.split(' ')[1];
let qr = await lib.qrcode.generate['@0.0.3']({
text: url,
errorCorrectionLevel: 'Medium',
});
await lib.discord.channels['@0.1.2'].messages.create({
channel_id: context.params.event.channel_id,
content: ``,
message_reference: {message_id: context.params.event.id},
file: Buffer.from(qr, 'binary'),
filename: "qr.jpg",
});