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

webhooks docs #143

Merged
merged 5 commits into from Oct 17, 2016

Conversation

Projects
None yet
3 participants
@night
Member

night commented Sep 30, 2016

@discordapp discordapp locked and limited conversation to collaborators Sep 30, 2016

Show outdated Hide outdated docs/resources/Channel.md
Show outdated Hide outdated docs/resources/Channel.md
@@ -277,7 +317,7 @@ Edit a previously sent message. You can only edit messages that have been sent b
Delete a message. If operating on a guild channel and trying to delete a message that was not sent by the current user, this endpoint requires the 'MANAGE_MESSAGES' permission. Returns a 204 empty response on success. Fires a [Message Delete](#DOCS_GATEWAY/message-delete) Gateway event.
## Bulk Delete Messages % POST /channels/{channel.id#DOCS_CHANNEL/channel-objects}/messages/bulk_delete
## Bulk Delete Messages % POST /channels/{channel.id#DOCS_CHANNEL/channel-objects}/messages/bulk-delete

This comment has been minimized.

@jhgg

jhgg Sep 30, 2016

Member

A lot of people wondered if the old endpoint is being removed. We're only deprecating it - (and it may be removed in API v7) - we should add a note?

@jhgg

jhgg Sep 30, 2016

Member

A lot of people wondered if the old endpoint is being removed. We're only deprecating it - (and it may be removed in API v7) - we should add a note?

This comment has been minimized.

@b1naryth1ef

b1naryth1ef Sep 30, 2016

Member

I would just copy/paste this section and then mark this one as deprecated.

@b1naryth1ef

b1naryth1ef Sep 30, 2016

Member

I would just copy/paste this section and then mark this one as deprecated.

Show outdated Hide outdated docs/resources/Webhook.md
|-------|------|-------------|----------|
| wait | bool | waits for server confirmation of message send before response, and returns the created message body (defaults to `false`; when `false` a message that is not saved does not return an error) | false |
###### JSON/Form Params

This comment has been minimized.

@jhgg

jhgg Sep 30, 2016

Member

we really need more examples for this. I'd love to do what slack does. But I think it's mergable as is.

@jhgg

jhgg Sep 30, 2016

Member

we really need more examples for this. I'd love to do what slack does. But I think it's mergable as is.

@jhgg

This comment has been minimized.

Show comment
Hide comment
@jhgg

jhgg Oct 6, 2016

Member

todo: doc github & travis-ci support

Member

jhgg commented Oct 6, 2016

todo: doc github & travis-ci support

@night night merged commit 84b33c5 into master Oct 17, 2016

@night night deleted the feature/webhooks branch Oct 17, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.