(block-handler18231 prefix client message)
(block-words words-to-block)
(block-words words-to-block guild)
(block-words words-to-block guild channel)
Easy interface to block a series of words. The number of arguments determines to extent of the block. Simply providing the word will constitute a global block. Providing a guild in addition to a word will block the word only in that guild. Lastly, providing a guild and channel will only block the word in that channel of that guild.
Easy interface to block a series of words. The number of arguments determines to extent of the block. Simply providing the word will constitute a global block. Providing a guild in addition to a word will block the word only in that guild. Lastly, providing a guild and channel will only block the word in that channel of that guild.
(block-words-helper words-to-block guild channel)
Helper function to block a word for a particular channel. After adding the word to list, it will save the settings and update the last-loaded timestamp
Helper function to block a word for a particular channel. After adding the word to list, it will save the settings and update the last-loaded timestamp
(block18095 client message)
Allows you to block words that you don't want appearing in certain contexts.
Available Subcommands: global: Adds words to the global block list for the bot. guild: Adds words to the guild block list for the bot. channel: Adds words to the guild/channel block list for the bot. list: Lists the words blocked in the current channel.
Allows you to block words that you don't want appearing in certain contexts. Available Subcommands: global: Adds words to the global block list for the bot. guild: Adds words to the guild block list for the bot. channel: Adds words to the guild/channel block list for the bot. list: Lists the words blocked in the current channel.
(get-blocked-words guild-id channel-id)
Returns the blocked words for a particular guild and channel combination.
Returns the blocked words for a particular guild and channel combination.
(get-settings)
(settings-fresh?)
This function determines whether or not the settings cache is 'fresh'. For the purposes of this application, we define a 'fresh' cache as a cache that has been updated in the last 5 minutes.
This function determines whether or not the settings cache is 'fresh'. For the purposes of this application, we define a 'fresh' cache as a cache that has been updated in the last 5 minutes.
(unblock-words words-to-unblock)
(unblock-words words-to-unblock guild)
(unblock-words words-to-unblock guild channel)
Easy interface for unblocking a series of words at any blocking level.
Easy interface for unblocking a series of words at any blocking level.
(unblock-words-helper words-to-block guild channel)
Helper function to unblock a word for a particular channel. After adding the word to list, it will save the settings and update the last-loaded timestamp
Helper function to unblock a word for a particular channel. After adding the word to list, it will save the settings and update the last-loaded timestamp
(unblock18160 client message)
Unblock words that are currently being blocked.
Available Subcommands: global: Removes words from the global block list guild: Removes words from the guild block list channel: Removes words from the guild/channel block list
Unblock words that are currently being blocked. Available Subcommands: global: Removes words from the global block list guild: Removes words from the guild block list channel: Removes words from the guild/channel block list
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close