#Discord Transport

1 messages · Page 1 of 1 (latest)

frank trench
#

I'm trying to use a transport based on the Discord Game SDK, however it seems to be a bit outdated (a bit as in 2 years). The transport in question can be found at https://github.com/Derek-R-S/Discord-Mirror (created by @arctic marten). Most of the issues are easy fixes (reordered argument lists, changed return types from bool to void). However, at https://github.com/Derek-R-S/Discord-Mirror/blob/master/DiscordTransport.cs#L162 there appear two errors I can't fix: the first argument changed from List<int> to int, and OnServerError requires a TransportError and a string, instead of an Exception. Does anyone know how to fix these? Thanks in advance.

GitHub

Contribute to Derek-R-S/Discord-Mirror development by creating an account on GitHub.

GitHub

Contribute to Derek-R-S/Discord-Mirror development by creating an account on GitHub.

alpine abyss
#

for the other...
OnServerError?.Invoke(connectionIds[i], TransportError.Unexpected, "Error sending data to client: " + e.ToString());

frank trench
alpine abyss
#

tbh I thought Discord abandoned that service