fix: missing deps

This commit is contained in:
March 7th
2022-10-15 12:26:52 +07:00
parent 8b7a93bf22
commit 17b3ca237c
6 changed files with 670 additions and 691 deletions

View File

@@ -1,7 +1,7 @@
'use strict';
const { Collection } = require('@discordjs/collection');
const { joinVoiceChannel, entersState, VoiceConnectionStatus } = require('@discordjs/voice');
const { Channel } = require('./Channel');
const TextBasedChannel = require('./interfaces/TextBasedChannel');
const InteractionManager = require('../managers/InteractionManager');
@@ -115,6 +115,7 @@ class DMChannel extends Channel {
* @returns {Promise<VoiceConnection>}
*/
call(options = {}) {
const { joinVoiceChannel, entersState, VoiceConnectionStatus } = require('@discordjs/voice');
return new Promise((resolve, reject) => {
if (!this.client.options.patchVoice) {
reject(