You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A GuildMember can now be timed out using the new timeout field of the PATCH /guilds/{guild.id}/members/{user.id} endpoint. This issue does exactly that.
Ideal solution or implementation
Add a field and the related methods to the GuildMember type which stores and handles the timing out of members. There seems to be a new permission as well with the flag MODERATE_MEMBERS which allows one to manage time outs in a Guild, which is something that needs to be implemented too.
Timed out members will temporarily lose all permissions except VIEW_CHANNEL and READ_MESSAGE_HISTORY. Owners and admin users with ADMINISTRATOR permissions are exempt.
Feature
A
GuildMember
can now be timed out using the new timeout field of thePATCH /guilds/{guild.id}/members/{user.id}
endpoint. This issue does exactly that.Ideal solution or implementation
Add a field and the related methods to the
GuildMember
type which stores and handles the timing out of members. There seems to be a new permission as well with the flagMODERATE_MEMBERS
which allows one to manage time outs in aGuild
, which is something that needs to be implemented too.As the Discord API states:
Alternative solutions or implementations
No response
Other context
Discord API reference and the Discord FAQ on timeouts.
Image of the client's preview of the new permission:
The text was updated successfully, but these errors were encountered: