This repository has been archived by the owner on Sep 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Replaying
Gabriel edited this page Jul 21, 2022
·
1 revision
To enable/disable event replaying, in the client's configuration scope you can change the enableEventReplaying
option (enabled by default).
val client = DeckClient("INSERT_YOUR_TOKEN_HERE") {
enableEventReplaying = false
}
If enabled, whenever the bot unexpectedly disconnects from the gateway, it'll try to find a "checkpoint" and replay all missed events from there. When it is finished replaying these events, deck will trigger a ResumeEvent
.
This is Deck's official documentation. For questions, you can either contact me in Guilded (https://www.guilded.gg/gabriel) or in Discord (Gaabriel#1911). If you don't have any of those, try opening an issue!
I'm not a native English speaker, so for any typos or grammar mistakes please do contact me as well.