this snippet allows you to pull up random video game characters by running a simple command
// authenticates you with the API standard library
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
// Add more images for your command here -
let messagePrompts2 = [
'https://www.looper.com/img/gallery/every-mario-game-on-nintendo-switch-ranked-worst-to-best/l-intro-1631623336.jpg',
'https://static.invenglobal.com/upload/image/2022/06/23/o1656001412034448.jpeg',
'https://tr.rbxcdn.com/67473934d7fcd017d2cf7e46248e992e/420/420/Image/Png',
'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR_NC5WohO-V14XcVoQaDvc81Otnj9ulGWHJA&usqp=CAU',
'https://blog.turtlebeach.com/wp-content/uploads/2018/01/Reasons-to-Play-Fortnite.jpg',
'https://assets-prd.ignimgs.com/2021/12/14/minecraft-1639513933156.jpg',
'https://static.wikia.nocookie.net/mario/images/a/a6/Princess_Peach_SMP.png/revision/latest?cb=20190620162055',
];
if (context.params.event.content.trim() === `${process.env.PREFIX}game`) {
// You can change the command
let messageChoice = Math.floor(Math.random() * messagePrompts2.length);
let message = messagePrompts2[messageChoice];
await lib.discord.channels['@0.0.6'].messages.create({
channel_id: `${context.params.event.channel_id}`,
content: `${message}`,
});
}