Liking cljdoc? Tell your friends :D

simple-discord.client


base-urlclj

source

create-messageclj

(create-message auth channel-id message)

https://discordapp.com/developers/docs/resources/channel#create-message

Before using this endpoint, you must connect to and identify with a gateway at least once.

auth: {:bot TOKEN} or {:bearer TOKEN} channel-id: the id of this channel. Type snowflake message: {:content "string, required, the message contents(up to 2000 characters)"}

https://discordapp.com/developers/docs/resources/channel#create-message

Before using this endpoint, you must connect to and identify with a gateway at least once.

auth: {:bot TOKEN} or {:bearer TOKEN}
channel-id: the id of this channel. Type snowflake
message: {:content "string, required, the message contents(up to 2000 characters)"}
sourceraw docstring

create-message-longclj

(create-message-long auth channel-id message)

Send long message, split message for up to 5 separated messages

Send long message, split message for up to 5 separated messages
sourceraw docstring

endpointclj

(endpoint uri)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close