(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 is a website building & hosting documentation for Clojure/Script libraries
× close