fix: Collection is not a constructor

v1.0.0 :v
This commit is contained in:
March 7th 2022-07-19 20:32:01 +07:00
parent 0a6c6d6c10
commit 7d993c607e
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
const { default: Collection } = require('@discordjs/collection'); const { Collection } = require('@discordjs/collection');
// Not used: const { remove } = require('lodash'); // Not used: const { remove } = require('lodash');
const BaseManager = require('./BaseManager'); const BaseManager = require('./BaseManager');
const { Error, TypeError } = require('../errors/DJSError'); const { Error, TypeError } = require('../errors/DJSError');

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
const { default: Collection } = require('@discordjs/collection'); const { Collection } = require('@discordjs/collection');
const Base = require('./Base'); const Base = require('./Base');
const ClientApplication = require('./ClientApplication'); const ClientApplication = require('./ClientApplication');
const VoiceState = require('./VoiceState'); const VoiceState = require('./VoiceState');