Repository navigation
fix(discord-bot): bump dfx to 1.0.16 so the gateway hears mentions - #475
Merged
Merged
Conversation
dfx 1.0.15 still calls Socket.writer as writeRaw. On Effect 4.0.0-rc.115 that throws TypeError: writeRaw is not a function, so the gateway never IDENTIFYs. REST still works, which made the bot look healthy while mentions and slash commands were deaf. 1.0.16 uses writer.write and reader.pull.
patroza
marked this pull request as ready for review
September 18, 2026 12:19
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After the Effect 4.0.0-rc.115 weld, Omegent looks healthy (REST slash registration, rehydrate) but never receives Discord gateway events.
dfx1.0.15 still doeswriteRaw = yield* socket.writerthenwriteRaw(...). On rc.115 that throwsTypeError: writeRaw is not a function(DiscordWS.ts:75), shard count stays 0, and mentions/slash go nowhere.Bump catalog
dfx1.0.15 → 1.0.16 (writer.write+reader.pull). Test asserts the installed dfx is 1.0.16+.Guest evidence on
t3code-discord-botatd16d055996: error at 10:27:14 UTC, then zeroMESSAGE_CREATEwhile archived-thread REST noise continues.Restart-only will not fix this. After merge the poller will deploy discord.