You can set these options by using:
/set plugins.var.python.slack.option_name value
You can also see all the options and set them them interactively by running /fset slack
.
Note that the default value will be shown as an empty string in WeeChat. The actual default values are listed below.
Most options require that you reload the script with /python reload slack
after changing it to take effect.
Default: false
Description: Automatically open threads when mentioned or in response to own messages.
Default: true
Description: Load the history for all channels in the background when the script is loaded, rather than waiting until the buffer is switched to. You can set this to false if you experience performance issues, however that causes some loss of functionality, see known issues in the readme.
Default: true
Description: Change the prefix of a channel from # to > when someone is typing in it. Note that this will (temporarily) affect the sort order if you sort buffers by name rather than by number.
Default: darkgray
Description: Color to use for muted channels in the buflist
Default: red
Description: Color to use for deleted messages and files.
Default: 095
Description: Color to use for (edited) suffix on messages that have been edited.
Default: darkgray
Description: Color to use for the [:wave:(@user)] suffix on messages that have reactions attached to them.
Default: blue
Description: Color to use for reactions that you have added.
Default: lightcyan
Description: Color to use for the [thread: XXX] suffix on messages that have threads attached to them. The special value "multiple" can be used to use a different color for each thread.
Default: yellow
Description: Color to use for the typing notice.
Default: prefix
Description: Whether to colorize attachment lines. Values: "prefix": Only colorize the prefix, "all": Colorize the whole line, "none": Don't colorize.
Default: false
Description: Whether to use nick-colors in DM windows.
Default: 3
Description: Show only this level of debug info (or higher) when debug_mode is on. Lower levels -> more messages.
Default: false
Description: Open a dedicated buffer for debug messages and start logging to it. How verbose the logging is depends on log_level.
Default: ``
Description: List of channels to hide.
Default: *
Description: The suffix appended to nicks to indicate external users.
Default: ``
Description: If set, file attachments will be automatically downloaded to this location. "%h" will be replaced by WeeChat home, "~/.weechat" by default. Requires WeeChat 2.2 or newer.
Default: &
Description: The prefix of buffer names for groups (private channels).
Default: 200
Description: The number of messages to fetch for each channel when fetching history, between 1 and 1000.
Default: true
Description: Show previews of website content linked by teammates.
Default: _
Description: When sending underlined text to slack, use this formatting character for it. The default ("_") sends it as italics. Use "*" to send bold instead.
Default: personal_highlights
Description: Control which activity you see from muted channels, either none, personal_highlights, all_highlights or all. none: Don't show any activity. personal_highlights: Only show personal highlights, i.e. not @channel and @here. all_highlights: Show all highlights, but not other messages. all: Show all activity, like other channels.
Default: false
Description: Poke Slack every five minutes so that it never marks you "away".
Default: auto
Description: Control if you want to see a notification in the team buffer when a thread you're subscribed to receives a new message, either auto, true or false. auto means that you only get a notification if auto_open_threads and thread_messages_in_channel both are false. Defaults to auto.
Default: false
Description: Control if you want to see a notification in the team buffer when ausergroup's handle has changed, either true or false.
Default: false
Description: Log all traffic from Slack to disk as JSON.
Default: bold
Description: When receiving bold text from Slack, render it as this in WeeChat.
Default: false
Description: Render emojis as :emoji_name: instead of emoji characters. Enable this if your terminal doesn't support emojis, or set to 'both' if you want to see both renderings. Note that even though this is disabled by default, you need to place https://github.com/wee-slack/wee-slack/blob/master/weemoji.json in your WeeChat directory to enable rendering emojis as emoji characters.
Default: italic
Description: When receiving bold text from Slack, render it as this in WeeChat. If your terminal lacks italic support, consider using "underline" instead.
Default: true
Description: Alert Slack users when you are typing a message in the input bar (Requires reload)
Default: ``
Description: A comma separated list of subdomain:alias
pairs. The alias will be used instead of the actual name of the slack (in buffer names, logging, etc). E.g work:no_fun_allowed
would make your work slack show up as no_fun_allowed
rather than work.slack.com
.
Default: %
Description: The prefix of buffer names for shared channels.
Default: false
Description: Use foo.#channel
rather than foo.slack.com.#channel
as the internal name for Slack buffers.
Default: true
Description: Display a +
character in the buffer list for present users.
Default: false
Description: Display the name of the reacting user(s) alongside each reactji.
Default: INSERT VALID KEY HERE!
Description: List of Slack API tokens, one per Slack instance you want to connect to; see the README for details on how to get these (note: content is evaluated, see /help eval).
Default: 20000
Description: How long (ms) to wait when communicating with Slack.
Default: true
Description: When /joining a channel, automatically switch to it as well.
Default: +
Description: Prefix to distinguish thread messages that were also sent to the channel, when thread_messages_in_channel is enabled.
Default: false
Description: When enabled shows thread messages in the parent channel.
Default: both
Description: When displaying ("unfurling") links to channels/users/etc, determine what is displayed when the text matches the url without the protocol. This happens when Slack automatically creates links, e.g. from words separated by dots or email addresses. Set it to "text" to only display the text written by the user, "url" to only display the url or "both" (the default) to display both.
Default: false
Description: When displaying ("unfurling") links to channels/users/etc, ignore the "alt text" present in the message and instead use the canonical name of the thing being linked to.
Default: false
Description: When activity occurs on a buffer, unhide it even if it was previously hidden (whether by the user or by the distracting_channels setting).
Default: false
Description: Use full names as the nicks for all users. When this is false (the default), display names will be used if set, with a fallback to the full name if display name is not set.