Replies: 2 comments 1 reply
-
@Keheck Generally you should never depend on P.S: You can join the official discord.py server if you want quicker response times. Make sure to make a help post within the server |
Beta Was this translation helpful? Give feedback.
-
There's no real guarantee on these events. |
Beta Was this translation helpful? Give feedback.
-
I wanna know if it is guaranteed that an on_connect event is called only when the bot is started or if there has been an on_disconnect event recently (about a few minutes earlier)
I need to know this because my serialization and deserialization method depend on the behavior of on_connect amd on_disconnect, and having an on_connect event fired randomly/unpredictably throughout the bot's lifecycle would cause issues with my serializable data
Beta Was this translation helpful? Give feedback.
All reactions