From 7d993c607e25cc8887861d78fd00409171871c88 Mon Sep 17 00:00:00 2001 From: March 7th <71698422+aiko-chan-ai@users.noreply.github.com> Date: Tue, 19 Jul 2022 20:32:01 +0700 Subject: [PATCH] fix: Collection is not a constructor v1.0.0 :v --- src/managers/ClientUserSettingManager.js | 2 +- src/structures/User.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/managers/ClientUserSettingManager.js b/src/managers/ClientUserSettingManager.js index 9d3947a..cef420e 100644 --- a/src/managers/ClientUserSettingManager.js +++ b/src/managers/ClientUserSettingManager.js @@ -1,6 +1,6 @@ 'use strict'; -const { default: Collection } = require('@discordjs/collection'); +const { Collection } = require('@discordjs/collection'); // Not used: const { remove } = require('lodash'); const BaseManager = require('./BaseManager'); const { Error, TypeError } = require('../errors/DJSError'); diff --git a/src/structures/User.js b/src/structures/User.js index cc0a3e6..aa74261 100644 --- a/src/structures/User.js +++ b/src/structures/User.js @@ -1,6 +1,6 @@ 'use strict'; -const { default: Collection } = require('@discordjs/collection'); +const { Collection } = require('@discordjs/collection'); const Base = require('./Base'); const ClientApplication = require('./ClientApplication'); const VoiceState = require('./VoiceState');