From fff27029e39d1518e55b37e177ad8516cc85cd2e Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sun, 10 Jul 2022 14:27:24 +0300 Subject: [PATCH] bugfix --- src/structure/client/wrappers/GuildWrapper.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/structure/client/wrappers/GuildWrapper.js b/src/structure/client/wrappers/GuildWrapper.js index 304b096..16c22d0 100644 --- a/src/structure/client/wrappers/GuildWrapper.js +++ b/src/structure/client/wrappers/GuildWrapper.js @@ -255,6 +255,10 @@ class GuildWrapper { return this.guild.fetchWebhooks(); } + fetchInvites() { + return this.guild.invites.fetch(); + } + get defaultConfig() { return { ...this.client.defaultConfig('GUILD') }; }