mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
Fix channels.resolve (#2137)
This commit is contained in:
parent
134ef7a61b
commit
3e3674b1af
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ class DataStore extends Collection {
|
|||
super();
|
||||
if (!Structures) Structures = require('../util/Structures');
|
||||
Object.defineProperty(this, 'client', { value: client });
|
||||
Object.defineProperty(this, 'holds', { value: Structures.get(holds.name) });
|
||||
Object.defineProperty(this, 'holds', { value: Structures.get(holds.name) || holds });
|
||||
if (iterable) for (const item of iterable) this.create(item);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue