Discord.Addons.WS4NetCompatibility
foxbot / discord.addons.ws4netcompatibility Goto Github PK
View Code? Open in Web Editor NEWProvides an IWebSocketClient that allows you to use WebSocket4Net with Discord.Net 1.0
Provides an IWebSocketClient that allows you to use WebSocket4Net with Discord.Net 1.0
Discord.Addons.WS4NetCompatibility
When loading the Example Project
Error Received on line 32 await client.ConnectAsync();
because ConnectAsync does not exist.
I updated it to await client.GetConnecitonAsync()
then an error is received on line 14
HResult=0x80131522
Message=Could not load type 'Discord.Emoji' from assembly 'Discord.Net.WebSocket, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' due to value type mismatch.
Source=<Cannot evaluate the exception source>
StackTrace:
at Discord.WebSocket.DiscordSocketClient..ctor(DiscordSocketConfig config, DiscordSocketApiClient client, SemaphoreSlim groupLock, DiscordSocketClient parentClient)
at Discord.WebSocket.DiscordSocketClient..ctor(DiscordSocketConfig config)
at ExampleProject.Program.<Run>d__1.MoveNext() in C:\Users\lawrenm\Downloads\Discord.Addons.WS4NetCompatibility-master\src\ExampleProject\Program.cs:line 18
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at ExampleProject.Program.Main(String[] args) in C:\Users\lawrenm\Downloads\Discord.Addons.WS4NetCompatibility-master\src\ExampleProject\Program.cs:line 14```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.