Add proc documentation
This commit is contained in:
parent
1c6e24ba29
commit
4a6f941683
|
@ -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)
|
Reference in New Issue