Restructure documentation layout
@@ -25,6 +25,7 @@ Style consistencies:
|
||||
|
||||
* Use a ruler set at 70 characters
|
||||
* Links should use long syntax
|
||||
* Pages should be short and concise, not broad and long
|
||||
|
||||
Example of long link syntax:
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
@@ -1,17 +1,18 @@
|
||||
|
||||
- name: Installing
|
||||
href: installing.md
|
||||
- name: Getting Started
|
||||
href: intro.md
|
||||
- name: Terminology
|
||||
href: terminology.md
|
||||
- name: Logging
|
||||
href: logging.md
|
||||
- name: Commands
|
||||
href: commands.md
|
||||
items:
|
||||
- name: Installation
|
||||
href: getting_started/installing.md
|
||||
- name: Your First Bot
|
||||
href: getting_started/intro.md
|
||||
- name: Terminology
|
||||
href: getting_started/terminology.md
|
||||
- name: Basic Concepts
|
||||
items:
|
||||
- name: Logging Data
|
||||
href: concepts/logging.md
|
||||
- name: Working with Events
|
||||
href: concepts/events.md
|
||||
- name: Entities
|
||||
- name: The Command Service
|
||||
- name: Voice
|
||||
href: voice.md
|
||||
- name: Events
|
||||
href: events.md
|
||||
- name: Code Samples
|
||||
href: samples.md
|
||||
- name: Migrating from 0.9
|
||||
@@ -1,24 +1,13 @@
|
||||
# Voice
|
||||
---
|
||||
title: Sending Voice
|
||||
---
|
||||
|
||||
**Information on this page is subject to change!**
|
||||
|
||||
>[!WARNING]
|
||||
>Audio in 1.0 is incomplete. Most of the below documentation is untested.
|
||||
>Audio in 1.0 is in progress
|
||||
|
||||
## Installation
|
||||
|
||||
To use Audio, you must first configure your [DiscordSocketClient]
|
||||
with Audio support.
|
||||
|
||||
In your [DiscordSocketConfig], set `AudioMode` to the appropriate
|
||||
[AudioMode] for your bot. For most bots, you will only need to use
|
||||
`AudioMode.Outgoing`.
|
||||
|
||||
[DiscordSocketClient]: xref:Discord.WebSocket.DiscordSocketClient
|
||||
[DiscordSocketConfig]: xref:Discord.WebSocket.DiscordSocketConfig
|
||||
[AudioMode]: xref:Discord.Audio.AudioMode
|
||||
|
||||
### Dependencies
|
||||
## Installing
|
||||
|
||||
Audio requires two native libraries, `libsodium` and `opus`.
|
||||
Both of these libraries must be placed in the runtime directory of your
|
||||
@@ -1,8 +1,6 @@
|
||||
|
||||
- name: Guides
|
||||
href: guides/
|
||||
- name: Migrating
|
||||
href: migrating.md
|
||||
- name: API Documentation
|
||||
href: api/
|
||||
homepage: api/index.md
|
||||
|
||||