This repository has been archived by the owner on Jul 12, 2023. It is now read-only.
0.5.4
New feature
- Can now use groups (namespaces) for voice connections, allowing you to have multiple bots connect to the same guild's voice channels:
joinVoiceChannel({ ...options }); // group defaults to "default"
joinVoiceChannel({ ...options1, group: bot1.user.id });
joinVoiceChannel({ ...options2, group: bot2.user.id });
joinVoiceChannel({ ...options3, group: bot3.user.id });
getVoiceConnection(options.guildId); // the first voice connection
getVoiceConnection(options.guildId, bot3.user.id); // the last voice connection
getVoiceConnections(bot3.user.id); // get all voice connections in the group = bot3.user.id
getVoiceConnections(); // get all voice connections in the group = "default"
getGroups(); // get all groups/namespaces
-
feat: voice channel groups (#147)
-
feat: add group discriminator to voice connections
-
feat(DataStore): expose voice connections map
-
feat(DataStore): use 2D map to store voice connections
-
chore(Examples): update ytdl-core dependency
-
refactor(DataStore): remove unnecessary type
-
refactor(DataStore): allow optional return type for getVoiceConnections
-
test(DataStore): check default and custom groups work
-
-
chore(Release): v0.5.4