#I have an extremely minimal bot, what intents/permissions/events does it need?

1 messages · Page 1 of 1 (latest)

grand brook
#

I'm trying to make a simple bot with only two slash commands: /help and /remind <time> <message>. The help command will give a predetermined reply immediately, and the remind command will give a confirmation reply immediately and then send the user a DM after the specified amount of time.

As far as I can tell it needs no intents at all, I can simply pass Intents::empty(). And the only permission it needs is the ability to use slash commands in the first place, so I don't believe I need to care about permissions at all either. But I'm a bit confused on how many events I can ignore? For example, if I ignore GATEWAY_HEARTBEAT will the bot fail to respond to heartbeats and cause chaos? Or does twilight internally handle such cases and I simply won't receive the event as a library user?

green jacinth