1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-12 05:06:28 +00:00
arikawa/api
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
..
rate API: Added timeout if deadline is after rate limit (#173) 2020-11-25 12:08:42 -08:00
api.go Gateway: Added reconnect timeout; fixed UA (#154) 2020-10-30 13:41:04 -07:00
api_test.go API: Added WithContext API, closes #15 2020-05-03 14:02:03 -07:00
channel.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
emoji.go API: replace use of whitelist with more inclusive synonyms 2020-11-03 10:14:53 -08:00
guild.go API: rename Client.GuildVanityURL to Client.GuildVanityInvite 2020-11-21 10:12:12 -08:00
image.go replace usage of discordapp.com with discord.com in docs 2020-11-03 10:14:53 -08:00
integration_test.go Voice: Remove state-keeping of sessions 2020-11-30 19:12:20 -08:00
invite.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
login.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
math.go API: abstract away boundary limits for DeleteMessages (#159) 2020-11-10 15:34:05 -08:00
math_test.go API: abstract away boundary limits for DeleteMessages (#159) 2020-11-10 15:34:05 -08:00
member.go API: fix wrong constants getting used for fetch limits 2020-11-21 08:36:14 -08:00
message.go API: stay within the boundaries of messageIDs (#160) 2020-11-11 11:07:30 -08:00
message_reaction.go API: fix wrong constants getting used for fetch limits 2020-11-21 08:36:14 -08:00
role.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
send.go State: Fixed erroneous context setting and races in Ready 2020-11-14 15:30:18 -08:00
send_test.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
user.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00
webhook.go *: Migrated Go Modules to v2 2020-10-28 15:39:59 -07:00