#Bot is stopping working after missing heartbeat

1 messages · Page 1 of 1 (latest)

simple pivot
#

Last logs:

[03/05/2024 14:42:10] [WARNING] A SlashCommandExecuted handler is blocking the gateway task.
[03/05/2024 14:43:16] [WARNING]
[03/05/2024 14:43:16] [ERROR] Server missed last heartbeat    at Discord.ConnectionManager.<>c__DisplayClass29_0.<<StartAsync>b__0>d.MoveNext()
[03/05/2024 14:43:16] [INFO] Disconnecting

After this nothing and bot don't reconnection

paper charm
#
  1. investigate this since it's most likely causing your disconnect-> A SlashCommandExecuted handler is blocking the gateway task.
  2. the bot should reconnect after disconnecting (unless your app is crashing due to an async void or something)
simple pivot
#

Can it be caused by slash async command?