We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d8773 commit c3c8fd4Copy full SHA for c3c8fd4
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "discord-rpc",
3
- "version": "3.2.0",
+ "version": "4.0.0",
4
"description": "A simple RPC client for Discord",
5
"keywords": [
6
"discord",
test/rp.js
@@ -12,8 +12,8 @@ const client = new Client({
12
transport: 'ipc',
13
});
14
15
-client.on('VOICE_CHANNEL_SELECT', ({ channel_id }) => {
16
- client.subscribe('VOICE_STATE_UPDATE', { channel_id });
+client.on('VOICE_CHANNEL_SELECT', (args) => {
+ client.subscribe('VOICE_STATE_UPDATE', { channel_id: args.channel_id });
17
18
19
client.on('VOICE_STATE_UPDATE', (args) => {
0 commit comments