diff --git a/src/structures/GuildTemplate.js b/src/structures/GuildTemplate.js index 123996b9f742..7510bb959528 100644 --- a/src/structures/GuildTemplate.js +++ b/src/structures/GuildTemplate.js @@ -198,8 +198,9 @@ class GuildTemplate extends Base { * @readonly */ get guild() { - return this.client.guilds.get(this.guildID) || null; + return this.client.guilds.cache.get(this.guildID) || null; } + /** * The URL of this template * @type {string}