Browse Source

Enforce 70 characters per line on installing guide

pull/1027/head
CyberCyclist GitHub 8 years ago
parent
commit
88081ba00f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 10 deletions
  1. +11
    -10
      docs/guides/getting_started/installing.md

+ 11
- 10
docs/guides/getting_started/installing.md View File

@@ -105,24 +105,25 @@ Studio installation.

For applications targeting a runtime environment corresponding with
.NET Standard 1.1 or 1.2, the built-in WebSocket and UDP provider will
not work. Install and configure third-party provider packages for applications
utilizing a WebSocket or an RPC connection to Discord.
not work. Install and configure third-party provider packages for
applications utilizing a WebSocket or an RPC connection to Discord.

1. Install the following packages through NuGet, or compile the following
packages yourself:
1. Install the following packages through NuGet, or compile the
following packages yourself:

- Discord.Net.Providers.WS4Net
- Discord.Net.Providers.UDPClient

>[!NOTE]
`Discord.Net.Providers.UDPClient` is _only_ required if your bot will be
utilizing voice chat.
`Discord.Net.Providers.UDPClient` is _only_ required if your bot will
be utilizing voice chat.

2. Configure your [DiscordSocketClient] to use these third-party providers
over the default ones.
2. Configure your [DiscordSocketClient] to use these third-party
providers over the default ones.

Set the `WebSocketProvider` and optionally the `UdpSocketProvider` properties
in the [DiscordSocketConfig] and pass the config into your client.
Set the `WebSocketProvider` and optionally the `UdpSocketProvider`
properties in the [DiscordSocketConfig] and pass the config into
your client.

[!code-csharp[NET Standard 1.1 Example](samples/netstd11.cs)]



Loading…
Cancel
Save