2075a4b853eec8aeffdd9f3928250898b1ebdc5a
nil out discordgo.Session when disconnecting
I don't have the logs anymore unfortunately, but I witnessed a (seemingly?) rare nil dereference _within discordgo's event handling code_ after Disconnect on the client was called (caused by SIGINT). My thinking is that this caused the Session to get garbage collected, so the method receiver became nil out from under it. To let discordgo clean up after itself, keep a reference to it in the client.
mautrix-discord
A Matrix-Discord puppeting bridge based on discordgo.
Documentation
All setup and usage instructions are located on docs.mau.fi. Some quick links:
- Bridge setup (or with Docker)
- Basic usage: Authentication, Relaying with webhooks
Features & Roadmap
ROADMAP.md contains a general overview of what is supported by the bridge.
Discussion
Matrix room: #discord:maunium.net
Description
Languages
Go
98.9%
PLpgSQL
0.7%
Shell
0.3%
Dockerfile
0.1%