A Discord API Library for Gleam! 💫
0

Configure Feed

Select the types of activity you want to include in your feed.

update CHANGELOG.md

+8 -1
+3
CHANGELOG.md
··· 1 + # v5.1.4 (27/03/2026) 2 + * Fix the gateway failing to heartbeat after reconnecting (Copilot/Filip Hoffmann) 3 + 1 4 # v5.1.3 (05/03/2026) 2 5 * Fix some components not being serialized with the `type` field (Filip Hoffmann) 3 6 * Fix the invalid session event being improperly parsed as a bool (not the data field) (Filip Hoffmann)
+5 -1
src/grom/gateway.gleam
··· 2992 2992 message: stratus.Message(StratusUserMessage), 2993 2993 connection: stratus.Connection, 2994 2994 ) -> stratus.Next(Connection, StratusUserMessage) { 2995 + echo message 2995 2996 case message { 2996 2997 stratus.Text(text_message) -> 2997 2998 on_text_message(connection_state, connection, text_message) ··· 3423 3424 // heartbeat manager. The RESUME payload was already queued 3424 3425 // in resume(), so we must not send IDENTIFY here. 3425 3426 stratus.continue( 3426 - Identified(..connection_state, heartbeat_manager: heartbeat_manager.data), 3427 + Identified( 3428 + ..connection_state, 3429 + heartbeat_manager: heartbeat_manager.data, 3430 + ), 3427 3431 ) 3428 3432 } 3429 3433 }