Hello fellow programmers!
Recently, I've been working on a Discord bot using discordjs sdk.
I'm trying to implement a feature where the bot creates an event every week.
I went through the discordjs guide and checked the discord api documentation, but couldn't find any information on scheduling events.
Can someone provide some insight or guidance on how to achieve this?
Below is a snippet of my main js file for the bot:
/* Your bot's main JavaScript code goes here */
I also attempted the following code:
// Code snippet that attempts to create a scheduled event
client.GuildScheduledEventManager.create({
name: 'test',
scheduledStartTime: '1690745648000',
privacyLevel:'GuildOnly',
entityType: '2',
})