From b11d334ac83816b9acceedf31edc967ab5d5e6ec Mon Sep 17 00:00:00 2001 From: lts20050703 <87189679+lts20050703@users.noreply.github.com> Date: Wed, 22 Dec 2021 22:04:37 +0700 Subject: [PATCH] camelize modifyGuildMember and I forgot to add the actual prop --- src/types/guilds/modifyGuildMember.ts | 2 +- src/types/members/guildMemberUpdate.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/guilds/modifyGuildMember.ts b/src/types/guilds/modifyGuildMember.ts index 9d78792e0..9f069b4c7 100644 --- a/src/types/guilds/modifyGuildMember.ts +++ b/src/types/guilds/modifyGuildMember.ts @@ -11,5 +11,5 @@ export interface ModifyGuildMember { /** Id of channel to move user to (if they are connected to voice). Requires the `MOVE_MEMBERS` permission */ channelId?: bigint | null; /** when the user's timeout will expire and the user will be able to communicate in the guild again (up to 28 days in the future), set to null to remove timeout. Requires the `MODERATE_MEMBERS` permission */ - communication_disabled_until?: number; + communicationDisabledUntil?: number; } diff --git a/src/types/members/guildMemberUpdate.ts b/src/types/members/guildMemberUpdate.ts index 46d69e3ec..1b5258574 100644 --- a/src/types/members/guildMemberUpdate.ts +++ b/src/types/members/guildMemberUpdate.ts @@ -23,4 +23,5 @@ export interface GuildMemberUpdate { /** Whether the user has not yet passed the guild's Membership Screening requirements */ pending?: boolean; /** when the user's [timeout](https://support.discord.com/hc/en-us/articles/4413305239191-Time-Out-FAQ) will expire and the user will be able to communicate in the guild again, null or a time in the past if the user is not timed out */ + communicationDisabledUntil?: number; }