forked from Galactic/galactic-bot
error
This commit is contained in:
parent
983c503088
commit
fb0fe94ac2
@ -291,6 +291,7 @@ class DiscordClient extends Client {
|
||||
getGuildWrapper(id) {
|
||||
|
||||
if (this.guildWrappers.has(id)) return this.guildWrappers.get(id);
|
||||
if (!this.guilds.cache.has(id)) throw new Error('Guild is not present on client');
|
||||
|
||||
const wrapper = new GuildWrapper(this, this.guilds.cache.get(id));
|
||||
this.guildWrappers.set(id, wrapper);
|
||||
|
Loading…
Reference in New Issue
Block a user