mirror of
https://github.com/danbulant/discord.js
synced 2026-05-26 13:32:04 +00:00
Send guild_id on voice destroy for bot accounts to work
(thanks qeled for supplying this fix, as per in the node_discord-js discord chat channel :D)
This commit is contained in:
parent
18dd59fe42
commit
77346e3415
2 changed files with 2 additions and 2 deletions
|
|
@ -99,7 +99,7 @@ var VoiceConnection = (function (_EventEmitter) {
|
|||
this.client.internal.sendWS({
|
||||
op: 4,
|
||||
d: {
|
||||
guild_id: null,
|
||||
guild_id: this.server.id,
|
||||
channel_id: null,
|
||||
self_mute: true,
|
||||
self_deaf: false
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ export default class VoiceConnection extends EventEmitter {
|
|||
{
|
||||
op : 4,
|
||||
d : {
|
||||
guild_id : null,
|
||||
guild_id : this.server.id,
|
||||
channel_id : null,
|
||||
self_mute : true,
|
||||
self_deaf : false
|
||||
|
|
|
|||
Loading…
Reference in a new issue