Generate a Code with a Prefix command &code. Code include letters(X, Y, Z, x, y, z) and numbers(1, 2, 3, 4, 5, 6, 7, 8, 9).
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let qPrompts = ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'X', 'Y', 'Z', 'x', 'y', 'z'];
let wPrompts = ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'X', 'Y', 'Z', 'x', 'y', 'z'];
let ePrompts = ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'X', 'Y', 'Z', 'x', 'y', 'z'];
let rPrompts = ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'X', 'Y', 'Z', 'x', 'y', 'z'];
let tPrompts = ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'X', 'Y', 'Z', 'x', 'y', 'z'];
let yPrompts = ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'X', 'Y', 'Z', 'x', 'y', 'z'];
if (context.params.event.content.trim() === `&code`) {
let qChoice = Math.floor(Math.random() * qPrompts.length);
let q = qPrompts[qChoice];
let wChoice = Math.floor(Math.random() * wPrompts.length);
let w = wPrompts[wChoice];
let eChoice = Math.floor(Math.random() * ePrompts.length);
let e = ePrompts[eChoice];
let rChoice = Math.floor(Math.random() * rPrompts.length);
let r = rPrompts[rChoice];
let tChoice = Math.floor(Math.random() * tPrompts.length);
let t = tPrompts[tChoice];
let yChoice = Math.floor(Math.random() * yPrompts.length);
let y = yPrompts[yChoice];
await lib.discord.channels['@0.0.6'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: `${q}${w}${e}${r}${t}${y}`,
});
}