diff --git a/src/structure/client/wrappers/GuildWrapper.js b/src/structure/client/wrappers/GuildWrapper.js index aa643be..bf545a6 100644 --- a/src/structure/client/wrappers/GuildWrapper.js +++ b/src/structure/client/wrappers/GuildWrapper.js @@ -212,6 +212,10 @@ class GuildWrapper { /* Wrapper Functions */ + fetchAuditLogs(...opts) { + return this.guild.fetchAuditLogs(...opts); + } + fetch() { return this.guild.fetch(); } diff --git a/src/structure/client/wrappers/MemberWrapper.js b/src/structure/client/wrappers/MemberWrapper.js index 9ff3e2a..7babe77 100644 --- a/src/structure/client/wrappers/MemberWrapper.js +++ b/src/structure/client/wrappers/MemberWrapper.js @@ -38,6 +38,10 @@ class MemberWrapper { return (await this.userWrapper()).developer || this.permissions.missing(['ADMINISTRATOR', 'MANAGE_GUILD']).length === 2; } + timeout(...opts) { + return this.member.timeout(...opts); + } + get id() { return this.member.id; } @@ -75,6 +79,14 @@ class MemberWrapper { get lastMessage() { return this.member.lastMessage; } + + get communicationDisabledUntil() { + return this.member.communicationDisabledUntil; + } + + get communicationDisabledUntilTimestamp() { + return this.member.communicationDisabledUntilTimestamp; + } }