diff --git a/src/stores/DataStore.js b/src/stores/DataStore.js index 6f3e74146..c4256dfe2 100644 --- a/src/stores/DataStore.js +++ b/src/stores/DataStore.js @@ -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); }