Install latest package via octoprint plugin manager (v4.5)
Go to plugin setting and change anything (e.g. add white space to a message).
Press save, and see this error message in the logs.
Note: the test message does actually arrive.
2023-05-10 17:25:37,229 - octoprint.plugins.discordremote - INFO - Settings have saved. Send a test message...
2023-05-10 17:25:37,350 - octoprint.plugins.discordremote - INFO - Received event: startup
2023-05-10 17:25:37,480 - octoprint.plugins.discordremote - INFO - Received event: test
2023-05-10 17:25:40,542 - octoprint.plugins.discordremote - INFO - Sending msgs
2023-05-10 17:25:41,089 - octoprint.plugins.discordremote - INFO - Failed with: Event loop stopped before Future completed.
[ a few seconds later ]
2023-05-10 17:25:47,645 - discord.gateway - WARNING - Shard ID None heartbeat blocked for more than 10 seconds.
2023-05-10 17:25:54,111 - discord.gateway - WARNING - Shard ID None heartbeat blocked for more than 10 seconds.
2023-05-10 17:25:57,646 - discord.gateway - WARNING - Shard ID None heartbeat blocked for more than 20 seconds.
2023-05-10 17:26:04,113 - discord.gateway - WARNING - Shard ID None heartbeat blocked for more than 20 seconds.
2023-05-10 17:26:07,647 - discord.gateway - WARNING - Shard ID None heartbeat blocked for more than 30 seconds.
2023-05-10 17:26:14,114 - discord.gateway - WARNING - Shard ID None heartbeat blocked for more than 30 seconds.
2023-05-10 17:26:17,648 - discord.gateway - WARNING - Shard ID None heartbeat blocked for more than 40 seconds.
Repro:
Note: the test message does actually arrive.