It's very important not to set the slack_token as a string or with any spaces between the tokens or it will fail: it shows it as a string when you do /secure, but you don't send them as a string. # reload the slack plugin will connect to the new workspace # NOTE: it is not a string: /set slack_token xoxs-XXXX,xoxs-XXX It's then easy to use a temporary file somewhere to organise the tokens. Then press l to have a raw buffer that you can cut-n-paste the tokens out of. Press v and it will show them unencrypted. You can list the tokens that you have for the current Slack Workspaces by using the /secure buffer. After you've created a login there and gone through the steps above to get the token we need to add them to the slack_api_token list. To join multiple Slack Workspaces we store multiple tokens (one token per Workspace) in a comma separated list.įor our example lets say that you'd like to join the Weave Community Slack. # do not put quotes around the slack_token or it will fail # store the token in the secure area and then use it as a variable in wee-slack's configuration secure passphrase "this is a super secret password" # when you set this you have to unlock Weechat with this password every time you start it This is the same system we used previously for storing IRC passwords. If you'd like to keep the token secure then you can set a passphrase when you start Weechat and encrypt the token. Window.prompt("Session token:", TS.boot_data.api_token) Add the code below and a small dialog window will appear with the session code in it - to highlight all of it use and the arrow keys to grab the whole of the string. The prompt is at the bottom of the 'console' window. In Chromium this is ++j, and in Firefox it is Shift>+k. Go to or go to a Slack workspace in the browser and choose 'Customize Workspace' from the main menu on the left. The first step is to create an account for that Slack workspace. Let's say that you've developed an interest in the Java based functional programming language Clojure and have decided to join their Clojurians Slack. Figure 2: Getting the session token for Clojurians Slack in Firefox
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |