(bot-message? event-data)
Was the given event generated by a bot?
Was the given event generated by a bot?
(channel-link channel-id)
Convenience method that creates a link to the given channel-id, for embedding in message bodies
Convenience method that creates a link to the given channel-id, for embedding in message bodies
(create-dm! discord-message-channel user-id)
A version of discljord.message/create-dm! that throws errors.
A version of discljord.message/create-dm! that throws errors.
(create-message! discord-message-channel channel-id & args)
A version of discljord.message/create-message! that throws errors.
A version of discljord.message/create-message! that throws errors.
(create-reaction! discord-message-channel channel-id message-id reaction)
A version of discljord.message/create-reaction! that throws errors.
A version of discljord.message/create-reaction! that throws errors.
(delete-message! discord-message-channel channel-id message-id)
A version of discljord.message/delete-message! that throws errors.
A version of discljord.message/delete-message! that throws errors.
(direct-message? event-data)
Was the given event sent via a Direct Message?
Was the given event sent via a Direct Message?
(edit-message! discord-message-channel channel-id message-id & args)
A version of discljord.message/edit-message! that throws errors.
A version of discljord.message/edit-message! that throws errors.
(get-channel! discord-message-channel channel-id)
A version of discljord.message/get-channel! that throws errors.
A version of discljord.message/get-channel! that throws errors.
(human-message? event-data)
Was the given event generated by a human?
Was the given event generated by a human?
(md-escape s)
(md-escape s code-fence?)
Escapes the given string for Discord's dialect of markdown, optionally specifying whether the string will appear within a code fence or not (in which case the rules are different).
Escapes the given string for Discord's dialect of markdown, optionally specifying whether the string will appear within a code fence or not (in which case the rules are different).
(message-url guild-id channel-id message-id)
Convenience method that creates a URL to a specific message
Convenience method that creates a URL to a specific message
(nick-or-user-name event-data)
Convenience method that returns the nickname, or (if there isn't one) username, of the author of the given message.
Convenience method that returns the nickname, or (if there isn't one) username, of the author of the given message.
(send-dm! discord-message-channel user-id message)
Convenience method that creates a DM channel to the specified user and sends the given message to them.
Convenience method that creates a DM channel to the specified user and sends the given message to them.
Convenience method that creates a Discord 'dynamic timestamp' tag for the provided date value and (optional) Discord format specifier (a character; one of \d \f \t \D \F \R \T - see https://www.reddit.com/r/discordapp/comments/ohmxrc/new_inline_dynamic_timestamps_that_anyone_can_type/ for examples).
Convenience method that creates a Discord 'dynamic timestamp' tag for the provided date value and (optional) Discord format specifier (a character; one of \d \f \t \D \F \R \T - see https://www.reddit.com/r/discordapp/comments/ohmxrc/new_inline_dynamic_timestamps_that_anyone_can_type/ for examples).
(user-link user-id)
Convenience method that creates a link to the given user-id, for embedding in message bodies
Convenience method that creates a link to the given user-id, for embedding in message bodies
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close