Skip to content
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

Merged
merged 11 commits into from
Jun 6, 2016
Merged

Gateway v5 #71

merged 11 commits into from
Jun 6, 2016

Conversation

night
Copy link
Member

@night night commented Jun 6, 2016

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
Copy link
Contributor

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 |
Copy link
Contributor

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)

Copy link
Member Author

@night night Jun 6, 2016

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?

@jhgg
Copy link
Contributor

jhgg commented Jun 6, 2016

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).**
Copy link
Contributor

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.

@jhgg
Copy link
Contributor

jhgg commented Jun 6, 2016

lgtm

@night night merged commit 08036ce into master Jun 6, 2016
@night night deleted the gateway-v5 branch June 6, 2016 22:34
@jhgg jhgg mentioned this pull request Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants