Use this prefix command to get the discord invite link.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
const discordInviteLink = `https://dsc.gg/fidilen`; //Change this with your discord invite link!
await lib.twitch.chat['@1.0.0'].messages.create({
channel_id: `${context.params.event.broadcaster_id}`,
content: `Join our Discord Server! ${discordInviteLink}`,
});