fix: missing deps (2)

This commit is contained in:
March 7th
2022-10-15 12:29:31 +07:00
parent 17b3ca237c
commit 89df4addb9
4 changed files with 4 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
const process = require('node:process');
const { setInterval, setTimeout } = require('node:timers');
const { Collection } = require('@discordjs/collection');
const { getVoiceConnection } = require('@discordjs/voice');
const BaseClient = require('./BaseClient');
const ActionsManager = require('./actions/ActionsManager');
const ClientVoiceManager = require('./voice/ClientVoiceManager');
@@ -300,7 +301,6 @@ class Client extends BaseClient {
* @readonly
*/
get callVoice() {
const { getVoiceConnection } = require('@discordjs/voice');
return getVoiceConnection(null);
}