mirror of
https://github.com/danbulant/discord.js
synced 2026-06-06 16:22:08 +00:00
parent
b55e6927e9
commit
bf25caf3d3
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
const VoiceWebSocket = require('./VoiceWebSocket');
|
const VoiceWebSocket = require('./VoiceWebSocket');
|
||||||
const VoiceUDP = require('./VoiceUDPClient');
|
const VoiceUDP = require('./VoiceUDPClient');
|
||||||
const mergeDefault = require('../../util/MergeDefault');
|
const Util = require('../../util/Util');
|
||||||
const Constants = require('../../util/Constants');
|
const Constants = require('../../util/Constants');
|
||||||
const AudioPlayer = require('./player/AudioPlayer');
|
const AudioPlayer = require('./player/AudioPlayer');
|
||||||
const VoiceReceiver = require('./receiver/VoiceReceiver');
|
const VoiceReceiver = require('./receiver/VoiceReceiver');
|
||||||
|
|
@ -140,7 +140,7 @@ class VoiceConnection extends EventEmitter {
|
||||||
* @param {Object} [options] The options to provide
|
* @param {Object} [options] The options to provide
|
||||||
*/
|
*/
|
||||||
sendVoiceStateUpdate(options = {}) {
|
sendVoiceStateUpdate(options = {}) {
|
||||||
options = mergeDefault({
|
options = Util.mergeDefault({
|
||||||
guild_id: this.channel.guild.id,
|
guild_id: this.channel.guild.id,
|
||||||
channel_id: this.channel.id,
|
channel_id: this.channel.id,
|
||||||
self_mute: false,
|
self_mute: false,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue