1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-12-11 07:54:58 +00:00
arikawa/utils
diamondburned c8f72547f7 voice: Refactor and fix up
This commit refactors a lot of voice's internals to be more stable and
handle more edge cases from Discord's voice servers. It should result in
an overall more stable voice connection.

A few helper functions have been added into voice.Session. Some fields
will have been broken and changed to accomodate for the refactor, as
well.

Below are some commits that have been squashed in:

    voice: Fix Speaking() panic on closed
    voice: StopSpeaking should not error out
        The rationale is added as a comment into the Speaking() method.
    voice: Add TestKickedOut
    voice: Fix region change disconnecting
2022-01-18 21:35:55 -08:00
..
bot state: Ignore state errors in API wrappers 2021-12-14 13:49:34 -08:00
cmd gateway: Refactor for a better concurrent API 2021-12-14 13:49:34 -08:00
handler gateway: Refactor for a better concurrent API 2021-12-14 13:49:34 -08:00
httputil utils/httputil: Fix build error from previous commit 2021-11-29 12:41:13 -08:00
json discord: Add {Min,Max} into {Integer,Number}Option 2021-12-01 12:11:59 -08:00
sendpart api: Update sending/editing messages for v9 (#230) 2021-06-17 23:32:11 -07:00
ws voice: Refactor and fix up 2022-01-18 21:35:55 -08:00
generate-option-marshalers.sh discord: Add missing NumberOption MarshalJSON 2021-12-29 11:10:59 -08:00