Every 30 mins the bot automatically send a message with the actual time, you can change the repeat time at the scheduler that's all. Enjoy =)
const lib = require('lib')({token: process.env.STDLIB_SECRET_TOKEN});
let time = ``
await lib.discord.channels['@0.0.6'].messages.create({
channel_id: `${process.env.CHANNEL_ID}`,
content: ``,
embed: {
title: `Time`,
description: `Actual time is: ${time}`,
footer: {
text: `This message will be repeated every 30 minutes.`, // if you change the repeat time change this message
//you can change the repeat time in the Schenduler - Once every x minutes
}
}
})