#Why is "Shard ID" None?

1 messages · Page 1 of 1 (latest)

grizzled tinsel
#

My bot uses voice features. Recently, there have been times when it should've been playing audio, but all of a sudden stopped for no apparent reason. I enabled DEBUG logging to try to figure out why and I discovered this message:

[05:10:58|disnake.client|DEBUG] Dispatching event socket_event_type
[05:10:58|disnake.client|DEBUG] Dispatching event socket_event_type
[05:10:58|disnake.client|DEBUG] Dispatching event message
[05:10:58|disnake.client|DEBUG] Dispatching event message
[05:10:58|src.plugins._tts|INFO] lils#2789 [497212891146092575] used TTS in Crystal Systems [765214683288305685] to say: dee 
[05:10:58|disnake.gateway|DEBUG] Sending voice websocket frame: {'op': 5, 'd': {'speaking': 1, 'delay': 0, 'ssrc': 15272}}.
[05:10:58|disnake.gateway|DEBUG] Sending voice websocket frame: {'op': 5, 'd': {'speaking': 1, 'delay': 0, 'ssrc': 15272}}.
[05:10:59|disnake.player|INFO] Preparing to terminate ffmpeg process 820.
[05:10:59|disnake.gateway|DEBUG] Sending voice websocket frame: {'op': 5, 'd': {'speaking': 0, 'delay': 0, 'ssrc': 15272}}.
[05:10:59|disnake.player|INFO] Preparing to terminate ffmpeg process 820.
[05:10:59|disnake.gateway|DEBUG] Sending voice websocket frame: {'op': 5, 'd': {'speaking': 0, 'delay': 0, 'ssrc': 15272}}.
[05:10:59|disnake.player|INFO] ffmpeg process 820 successfully terminated with return code of 0.
[05:10:59|disnake.player|INFO] ffmpeg process 820 successfully terminated with return code of 0.
[05:11:01|disnake.gateway|DEBUG] Keeping shard ID None voice websocket alive with timestamp 1676779861432.
[05:11:01|disnake.gateway|DEBUG] Keeping shard ID None voice websocket alive with timestamp 1676779861432.
[05:11:01|disnake.gateway|DEBUG] Sending voice websocket frame: {'op': 3, 'd': 1676779861432}.
[05:11:01|disnake.gateway|DEBUG] Sending voice websocket frame: {'op': 3, 'd': 1676779861432}.
[05:11:01|disnake.gateway|DEBUG] Voice websocket frame received: {'op': 6, 'd': 1676779861432}
[05:11:01|disnake.gateway|DEBUG] Voice websocket frame received: {'op': 6, 'd': 1676779861432}
[05:11:06|disnake.gateway|DEBUG] Keeping shard ID None voice websocket alive with timestamp 1676779866434.
[05:11:06|disnake.gateway|DEBUG] Keeping shard ID None voice websocket alive with timestamp 1676779866434.
[05:11:06|disnake.gateway|DEBUG] Sending voice websocket frame: {'op': 3, 'd': 1676779866434}.
[05:11:06|disnake.gateway|DEBUG] Sending voice websocket frame: {'op': 3, 'd': 1676779866434}.
[05:11:06|disnake.gateway|DEBUG] Voice websocket frame received: {'op': 6, 'd': 1676779866434}
[05:11:06|disnake.gateway|DEBUG] Voice websocket frame received: {'op': 6, 'd': 1676779866434}
[05:11:08|disnake.gateway|DEBUG] Keeping shard ID 0 websocket alive with sequence 99.
[05:11:08|disnake.gateway|DEBUG] Keeping shard ID 0 websocket alive with sequence 99.
  1. Why would shard ID be None? Perhaps this is just an issue on Discord's end?
  2. Not exactly sure why these messages are sending twice, but that's not really important at the moment.
main fern
#
  1. If your not sharding, then it won't have a shard ID
  2. its likely your logging
grizzled tinsel
#

ahh, got it

#

yeah in that case my audio issues are def something else