From 4dc9d8769e7eb3135c48c1a9ed3336118e8b49ff Mon Sep 17 00:00:00 2001 From: 0xAozora Date: Mon, 1 Aug 2022 18:37:24 +0200 Subject: [PATCH] Added communication_disabled_until tag --- structs.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/structs.go b/structs.go index 781dff173..38eead2b2 100644 --- a/structs.go +++ b/structs.go @@ -1699,6 +1699,8 @@ type GuildMemberParams struct { Nick string `json:"nick,omitempty"` // Array of role ids the member is assigned Roles *[]string `json:"roles,omitempty"` + // Timeout user until as ISO8601 timestamp + CommunicationDisabledUntil string `json:"communication_disabled_until,omitempty"` } // An APIErrorMessage is an api error message returned from discord