diamondburned
b8994ed0da
Voice: Remove state-keeping of sessions
...
This commit gets rid of all the code that previously managed different
voice sessions in different guilds. This is because there is rarely ever
a need for this, and most bots that need this could do their own
keeping.
This change, although removes some features off of the package, adds a
lot of clarity on what to do exactly when it comes to connecting to a
voice channel.
In order to make the migration process a bit easier, an example has been
added which guides through using the voice.Session API.
2020-11-30 19:12:20 -08:00
diamondburned
f3372e016a
Gateway: Added missing intents in tests
2020-10-30 12:00:41 -07:00
diamondburned
0ead315aa3
Gateway: Fixed race in test Fatal
2020-10-30 11:15:58 -07:00
diamondburned
75df94d9f4
*: Migrated Go Modules to v2
2020-10-28 15:39:59 -07:00
diamondburned
77b1b08bce
Heart: Better synchronization on close methods
2020-07-30 12:44:50 -07:00
diamondburned
24f7ed0499
Gateway: ReconnectCtx now returns error; fixed test
2020-07-18 18:33:07 -07:00
diamondburned
edb8a46ef2
Gateway: Added intent helpers and more context API support
2020-07-11 12:50:32 -07:00
diamondburned (Forefront)
54ac0a6951
Gateway: Migrated to wsutil.PacemakerLoop
2020-04-24 15:30:15 -07:00
diamondburned (Forefront)
4e4ebde93a
Gateway: Deprecated Wait(), fixed ReconnectOP bug
2020-04-12 11:06:43 -07:00
diamondburned (Forefront)
2f597ebc0b
Session: Added an AfterClose handler as a *session.Close event
2020-04-06 19:36:06 -07:00
diamondburned (Forefront)
9f5c2ac958
Gateway: Switched to gorilla/websocket, fixes #11
2020-04-06 13:27:29 -07:00
diamondburned (Forefront)
b59d9bfed7
Arikawa: Updated /x/errors; Gateway: Added TestInvalidToken
2020-03-16 18:29:23 -07:00
diamondburned (Forefront)
85b793a1a7
Fixed some race conditions
2020-02-02 14:12:54 -08:00
diamondburned (Forefront)
971c162d33
Fixed bug where reconnect would fail
2020-01-17 23:40:44 -08:00
diamondburned (Forefront)
7f5a470024
Fixed integration test
2020-01-17 23:20:05 -08:00
diamondburned (Forefront)
a3a914ac4a
Added timeouts to gateway integration tests
2020-01-17 23:13:50 -08:00
diamondburned (Forefront)
478b66fffa
Merge branch 'master' of ssh://github.com/diamondburned/arikawa
2020-01-15 20:44:30 -08:00
diamondburned (Forefront)
ef0dd9beef
Added API integration tests
2020-01-15 20:44:11 -08:00
diamondburned
d1341b61b3
Gateway integration test + Bug fixes
2020-01-15 19:28:21 -08:00
diamondburned (Forefront)
03d226e23d
WIP integration test
2020-01-14 23:34:18 -08:00