Add proc documentation

This commit is contained in:
SeanOMik 2020-06-18 15:32:05 -05:00
parent 1c6e24ba29
commit 4a6f941683
No known key found for this signature in database
GPG Key ID: FA4D55AC05268A88
1 changed files with 1 additions and 0 deletions

View File

@ -341,5 +341,6 @@ proc groupDMAddRecipient*(channel: Channel, user: User, accessToken: string, nic
channel.id, RateLimitBucketType.channel, jsonBody) channel.id, RateLimitBucketType.channel, jsonBody)
proc groupDMRemoveRecipient*(channel: Channel, user: User) {.async.} = proc groupDMRemoveRecipient*(channel: Channel, user: User) {.async.} =
## Removes a recipient from a Group DM.
discard sendRequest(endpoint("/channels/" & $channel.id & "/recipients/" & $user.id), discard sendRequest(endpoint("/channels/" & $channel.id & "/recipients/" & $user.id),
HttpPut, defaultHeaders(), channel.id, RateLimitBucketType.channel) HttpPut, defaultHeaders(), channel.id, RateLimitBucketType.channel)