You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current version of the API, the scopes only allow User Token Scopes to read channel history, but only allow Bot Token Scopes to post messages.
As far as I can tell, the only workaround is to now set both the user and bot tokens of the app.
The text was updated successfully, but these errors were encountered:
Allow passing both the bot and user token to the scripts via the environment
variables DESTALINATOR_API_BOT_TOKEN and DESTALINATOR_API_USER_TOKEN. They have
different permissions and the bot token is only used to post messags, all other
calls use the user token. Fixesrandsleadershipslack#194.
This also includes randsleadershipslack#210 and fixesrandsleadershipslack#209 by moving the tokens into the header
instead of using query parameters.
Don't pass `as_user` to Slack, as this has been removed.
With the current version of the API, the scopes only allow User Token Scopes to read channel history, but only allow Bot Token Scopes to post messages.
As far as I can tell, the only workaround is to now set both the user and bot tokens of the app.
The text was updated successfully, but these errors were encountered: