mrkaye97 / slackr

An R package for sending messages from R to Slack
https://matthewrkaye.com/slackr/
Other
307 stars 83 forks source link

Set up infrastructure to allow for `slackr` users to use user tokens (in addition to bot tokens) #153

Closed mrkaye97 closed 3 years ago

mrkaye97 commented 3 years ago

The Slack API provides two types of tokens that slackr could use: user tokens and bot tokens. Right now, bot_user_oauth_token is pervasive within slackr, but most slackr functions (bar a few, and some extra scopes needed) would work fine with a user token as well.

Will need to update some code + improve some error messaging, but this should be a pretty easy change and very beneficial