Sends a good morning message to the channel id that you enter when adding the snippet. Timezone is set to my time, PST 7 AM, change it to yours if you have a different one.
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
await lib.discord.channels['@0.2.0'].messages.create({
channel_id: `${process.env.CHANNEL_ID}`,
content: `@everyone `,
tts: false,
embeds: [
{
type: 'rich',
title: `Good Morning`,
description: `Rise and Shine, It's 7 AM`,
color: 0x00ffff,
},
],
});