mirror of
https://github.com/mautrix/discord.git
synced 2026-11-13 01:29:18 -05:00
No tagged uTLS release has the Chrome 155 fingerprint yet, and it needs Go 1.27. Use the same ClientHello ID for the gateway handshake as req's ImpersonateChrome so REST and gateway connections match.
56 lines
2.1 KiB
Modula-2
56 lines
2.1 KiB
Modula-2
module go.mau.fi/mautrix-discord
|
|
|
|
go 1.27
|
|
|
|
toolchain go1.27.0
|
|
|
|
require (
|
|
github.com/bwmarrin/discordgo v0.27.0
|
|
github.com/coder/websocket v1.8.15
|
|
github.com/google/uuid v1.6.0
|
|
github.com/imroc/req/v3 v3.57.0
|
|
github.com/refraction-networking/utls v1.8.3-0.20261108164504-a13c59ffe98b
|
|
github.com/rs/zerolog v1.35.1
|
|
github.com/yuin/goldmark v1.8.6
|
|
go.mau.fi/util v0.11.0
|
|
golang.org/x/net v0.61.0
|
|
golang.org/x/term v0.47.0
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
maunium.net/go/mautrix v0.32.1-0.20261105144219-34c60c3608bd
|
|
)
|
|
|
|
require (
|
|
filippo.io/edwards25519 v1.2.0 // indirect
|
|
github.com/andybalholm/brotli v1.2.4 // indirect
|
|
github.com/coreos/go-systemd/v22 v22.7.0 // indirect
|
|
github.com/google/go-querystring v1.2.0 // indirect
|
|
github.com/icholy/digest v1.2.0 // indirect
|
|
github.com/klauspost/compress v1.20.1 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/lib/pq v1.12.3 // indirect
|
|
github.com/mattn/go-colorable v0.1.14 // indirect
|
|
github.com/mattn/go-isatty v0.0.21 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.52 // indirect
|
|
github.com/molecule-man/go-brrr v1.2.0 // indirect
|
|
github.com/petermattis/goid v0.0.0-20260918085751-abfca077860b // indirect
|
|
github.com/quic-go/qpack v0.6.0 // indirect
|
|
github.com/quic-go/quic-go v0.61.0 // indirect
|
|
github.com/rs/xid v1.6.0 // indirect
|
|
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e // indirect
|
|
github.com/tidwall/gjson v1.20.0 // indirect
|
|
github.com/tidwall/match v1.2.0 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/tidwall/sjson v1.2.5 // indirect
|
|
go.mau.fi/zeroconfig v0.2.0 // indirect
|
|
golang.org/x/crypto v0.58.0 // indirect
|
|
golang.org/x/exp v0.0.0-20261014143641-f0251eb4aa3e // indirect
|
|
golang.org/x/sync v0.24.0 // indirect
|
|
golang.org/x/sys v0.49.0 // indirect
|
|
golang.org/x/text v0.43.0 // indirect
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
|
maunium.net/go/mauflag v1.0.0 // indirect
|
|
)
|
|
|
|
replace github.com/bwmarrin/discordgo => github.com/beeper/discordgo v0.0.0-20261104162414-49256f3e1ca7
|
|
|
|
replace github.com/imroc/req/v3 => github.com/beeper/req/v3 v3.0.0-20260925135712-b49593750e56
|