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
| premium_progress_bar_enabled | boolean | whether the guild has the boost progress bar enabled |
56
56
| safety_alerts_channel_id | ?snowflake | the id of the channel where admins and moderators of Community guilds receive safety alerts from Discord |
57
+
| incidents_data | ?[incidents data](#DOCS_RESOURCES_GUILD/incidents-data-object) object | the incidents data for this guild |
57
58
58
59
\* These fields are only sent when using the [GET Current User Guilds](#DOCS_RESOURCES_USER/get-current-user-guilds) endpoint and are relative to the requested user
59
60
@@ -651,6 +652,26 @@ In guilds with [Membership Screening](https://support.discord.com/hc/en-us/artic
651
652
> warn
652
653
> We are making significant changes to the Membership Screening API specifically related to getting and editing the Membership Screening object. Long story short is that it can be improved. As such, we have removed those documentation. There will **not be** any changes to how pending members work, as outlined above. That behavior will stay the same.
Create a new guild. Returns a [guild](#DOCS_RESOURCES_GUILD/guild-object) object on success. Fires a [Guild Create](#DOCS_TOPICS_GATEWAY_EVENTS/guild-create) Gateway event.
@@ -1050,11 +1071,11 @@ Returns a list of [ban](#DOCS_RESOURCES_GUILD/ban-object) objects for the users
| limit? | number | number of users to return (up to maximum 1000) | 1000 |
1077
+
| before? \*| snowflake | consider only users before given user id | null |
1078
+
| after? \*| snowflake | consider only users after given user id | null |
1058
1079
1059
1080
\* Provide a user id to `before` and `after` for pagination. Users will always be returned in ascending order by `user.id`. If both `before` and `after` are provided, only `before` is respected.
1060
1081
@@ -1342,3 +1363,62 @@ Modifies the onboarding configuration of the guild. Returns a 200 with the [Onbo
1342
1363
| default_channel_ids | array of snowflakes | Channel IDs that members get opted into automatically |
1343
1364
| enabled | boolean | Whether onboarding is enabled in the guild |
1344
1365
| mode |[onboarding mode](#DOCS_RESOURCES_GUILD/guild-onboarding-object-onboarding-mode)| Current mode of onboarding |
1366
+
1367
+
## Modify Current User Voice State % PATCH /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/voice-states/@me
1368
+
1369
+
Updates the current user's voice state. Returns `204 No Content` on success. Fires a [Voice State Update](#DOCS_TOPICS_GATEWAY_EVENTS/voice-state-update) Gateway event.
| channel_id | snowflake | the id of the channel the user is currently in |
1398
+
| suppress? | boolean | toggles the user's suppress state |
1399
+
1400
+
###### Caveats
1401
+
1402
+
There are currently several caveats for this endpoint:
1403
+
1404
+
-`channel_id` must currently point to a stage channel.
1405
+
- User must already have joined `channel_id`.
1406
+
- You must have the `MUTE_MEMBERS` permission. (Since suppression is the only thing that is available currently.)
1407
+
- When unsuppressed, non-bot users will have their `request_to_speak_timestamp` set to the current time. Bot users will not.
1408
+
- When suppressed, the user will have their `request_to_speak_timestamp` removed.
1409
+
1410
+
## Modify Guild Incident Actions % PUT /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/incident-actions
1411
+
1412
+
Modifies the incident actions of the guild. Returns a 200 with the [Incidents Data](#DOCS_RESOURCES_GUILD/incidents-data-object) object for the guild. Requires the `MANAGE_GUILD` permission.
1413
+
1414
+
###### JSON Params
1415
+
1416
+
> info
1417
+
> Both `invites_disabled_until` and `dms_disabled_until` can be disabled for a maximal timespan of 24 hours in the future.
0 commit comments