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
Copy file name to clipboardExpand all lines: docs/events/gateway.mdx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -698,7 +698,7 @@ The [Get Gateway Bot endpoint](/docs/events/gateway#get-gateway-bot) will always
698
698
The session start limit for these bots will also be increased from 1000 to `max(2000, (guild_count / 1000) * 5)` per day. You also receive an increased `max_concurrency`, the number of [shards you can concurrently start](/docs/events/gateway#session-start-limit-object).
699
699
700
700
## Get Gateway
701
-
<Routetype="GET">/gateway</Route>
701
+
<Routemethod="GET">/gateway</Route>
702
702
703
703
:::info
704
704
This endpoint does not require authentication.
@@ -716,7 +716,7 @@ Returns an object with a valid WSS URL which the app can use when [Connecting](/
716
716
717
717
## Get Gateway Bot
718
718
719
-
<Routetype="GET">/gateway/bot</Route>
719
+
<Routemethod="GET">/gateway/bot</Route>
720
720
721
721
:::warn
722
722
This endpoint requires authentication using a valid bot token.
The objects returned by this endpoint may be augmented with [additional fields if localization is active](/docs/interactions/application-commands#retrieving-localized-commands).
@@ -1172,7 +1172,7 @@ Fetch all of the global commands for your application. Returns an array of [appl
1172
1172
| with_localizations? |[boolean](/docs/reference#boolean-query-strings)| Whether to include full localization dictionaries (`name_localizations` and `description_localizations`) in the returned objects, instead of the `name_localized` and `description_localized` fields. Default `false`. |
Fetch a global command for your application. Returns an [application command](/docs/interactions/application-commands#application-command-object) object.
Takes a list of application commands, overwriting the existing global command list for this application. Returns `200` and a list of [application command](/docs/interactions/application-commands#application-command-object) objects. Commands that do not already exist will count toward daily application command create limits.
1239
1239
@@ -1242,7 +1242,7 @@ This will overwrite **all** types of application commands: slash commands, user
The objects returned by this endpoint may be augmented with [additional fields if localization is active](/docs/interactions/application-commands#retrieving-localized-commands).
@@ -1257,7 +1257,7 @@ Fetch all of the guild commands for your application for a specific guild. Retur
1257
1257
| with_localizations? |[boolean](/docs/reference#boolean-query-strings)| Whether to include full localization dictionaries (`name_localizations` and `description_localizations`) in the returned objects, instead of the `name_localized` and `description_localized` fields. Default `false`. |
Fetch a guild command for your application. Returns an [application command](/docs/interactions/application-commands#application-command-object) object.
Takes a list of application commands, overwriting the existing command list for this application for the targeted guild. Returns `200` and a list of [application command](/docs/interactions/application-commands#application-command-object) objects.
1320
1320
@@ -1342,17 +1342,17 @@ This will overwrite **all** types of application commands: slash commands, user
Fetches permissions for all commands for your application in a guild. Returns an array of [guild application command permissions](/docs/interactions/application-commands#application-command-permissions-object-guild-application-command-permissions-structure) objects.
Fetches permissions for a specific command for your application in a guild. Returns a [guild application command permissions](/docs/interactions/application-commands#application-command-permissions-object-guild-application-command-permissions-structure) object.
This endpoint will overwrite existing permissions for the command in that guild
@@ -1377,7 +1377,7 @@ Deleting or renaming a command will permanently delete all permissions for the c
1377
1377
| permissions | array of [application command permissions](/docs/interactions/application-commands#application-command-permissions-object-application-command-permissions-structure)| Permissions for the command in the guild |
This endpoint has been disabled with [updates to command permissions (Permissions v2)](/docs/change-log#updated-command-permissions). Instead, you can [edit each application command permissions](/docs/interactions/application-commands#edit-application-command-permissions) (though you should be careful to handle any potential [rate limits](/docs/topics/rate-limits)).
Create a response to an Interaction. Body is an [interaction response](/docs/interactions/receiving-and-responding#interaction-response-object). Returns `204` unless `with_response` is set to `true` which returns `200` with the body as [interaction callback response](/docs/interactions/receiving-and-responding#interaction-callback-interaction-callback-response-object).
395
395
@@ -403,22 +403,22 @@ This endpoint also supports file attachments similar to the webhook endpoints. R
Apps are limited to 5 followup messages per interaction if it was initiated from a user-installed app and isn't installed in the server (meaning the [authorizing integration owners object](/docs/interactions/receiving-and-responding#interaction-object-authorizing-integration-owners-object) only contains `USER_INSTALL`)
@@ -429,16 +429,16 @@ Create a followup message for an Interaction. Functions the same as [Execute Web
429
429
When using this endpoint directly after responding to an interaction with `DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE`, this endpoint will function as [Edit Original Interaction Response](/docs/interactions/receiving-and-responding#edit-original-interaction-response) for backwards compatibility. In this case, no new message will be created, and the loading message will be edited instead. The ephemeral flag will be ignored, and the value you provided in the initial defer response will be preserved, as an existing message's ephemeral state cannot be changed. This behavior is deprecated, and you should use the Edit Original Interaction Response endpoint in this case instead.
0 commit comments