(api-url gateway)Takes an endpoint from Discord's API (with a starting '/'), and returns a URL for that Discord endpoint.
For example: (api-url (str "/channels/" channel-id))
Takes an endpoint from Discord's API (with a starting '/'), and returns a URL for that Discord endpoint. For example: (api-url (str "/channels/" channel-id))
(append-api-suffix url)Takes a url and appends GET parameters for version of the Discord API, and the default encoding.
Takes a url and appends GET parameters for version of the Discord API, and the default encoding.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |