Discord.Addons.WebSocketSharp 1.0.1

Suggested Alternatives

Remora.Discord

Additional Details

Port your bot from Discord.NET to Remora.Discord.

Install-Package Discord.Addons.WebSocketSharp -Version 1.0.1
dotnet add package Discord.Addons.WebSocketSharp --version 1.0.1
<PackageReference Include="Discord.Addons.WebSocketSharp" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Discord.Addons.WebSocketSharp --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Discord.Addons.WebSocketSharp, 1.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Discord.Addons.WebSocketSharp as a Cake Addin
#addin nuget:?package=Discord.Addons.WebSocketSharp&version=1.0.1

// Install Discord.Addons.WebSocketSharp as a Cake Tool
#tool nuget:?package=Discord.Addons.WebSocketSharp&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Discord.Addons.WebSocketSharp

This addon adds a websocket provider based on websocket-sharp, which allows Discord.Net to run under Mono, which in turn allows its use on platforms which .NET Core does not support. Among these is the popular Raspberry Pi Zero.

Depending on your version of Mono, an additional project-specific workaround may be needed. The System.Net.Http.dll file must be deleted from the output directory, and an assembly redirect must be added to the configuration.

<configuration>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
                <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.0.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>
<Target Name="DeleteNetHttpMono" AfterTargets="AfterBuild">
  <Delete Files="$(OutputPath)\System.Net.Http.dll" />
</Target>

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 1,420 12/20/2017

Initial release.