-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gateway v5 #71
Gateway v5 #71
Conversation
night
commented
Jun 6, 2016
•
edited
Loading
edited
- hello opcode ([Gateway] V5 - OP_HELLO #18)
- heartbeat acks ([Gateway] Heartbeat ACK #25)
- gateway close codes ([Gateway] Document WS Close Codes #33)
- ready/resumed (Missing info from READY/RESUME #37)
- api error codes (API Error Codes #61)
- presence (Expand information on presence update event #34)
- bot application info (Obtaining client ID using bot token #27)
- 2fa requirement ([API] Bot MFA/Two Factor #69)
- optional channel fields (Missing Information about Modifying Channels #28)
move gateway close codes to gateway docs
@@ -203,9 +258,19 @@ Used to request offline members for a guild. When initially connecting, the gate | |||
} | |||
``` | |||
|
|||
### Gateway Sync Guilds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't supported for bot accounts in v5.
|
||
| Field | Type | Description | | ||
|-------|------|-------------| | ||
| url | string | url to new gateway | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry if I was unclear. Gateway reconnect is still a thing. We just don't send the url
anymore. The client should try to connect to the last discovered gateway URL (and if it fails, re-discover it using /api/gateway)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, ok. Is it just null
for data then?
re: "friends list presences/relationships?" Bots can't have friends. No point in documenting this. |
| MANAGE_ROLES | `0x10000000` | Allows management and editing of roles | | ||
| MANAGE_ROLES * | `0x10000000` | Allows management and editing of roles | | ||
|
||
**\* These permissions require the owner account to use [two-factor authentication](#DOCS_OAUTH2/two-factor-authentication-requirement).** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only if the guild requires 2 factor.
lgtm |