mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
Add session description and speaking listeners
This commit is contained in:
10
src/client/voice/util/SecretKey.js
Normal file
10
src/client/voice/util/SecretKey.js
Normal file
@@ -0,0 +1,10 @@
|
||||
class SecretKey {
|
||||
constructor(key) {
|
||||
this.key = new Uint8Array(new ArrayBuffer(key.length));
|
||||
for (const index in key) {
|
||||
this.key[index] = key[index];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = SecretKey;
|
||||
Reference in New Issue
Block a user