Sends a message to log channel when a Invite was created but in embed
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
await lib.discord.channels['@0.2.0'].messages.create({
channel_id: `${process.env.LOG_CHANNEL_ID}`,
content: ``,
tts: false,
embed: {
type: 'rich',
title: 'Invite Create',
description: `A Invite was created!`,
color: 0x00baff,
footer: {
text: 'Need more information? Check audit log!',
},
},
});