Given a vector of one or more channel names, it will retrieve list of
active channels and try to replace channels that begin with "#
" or "@
"
with the channel ID for that channel.
slackr_chtrans(
channels,
bot_user_oauth_token = Sys.getenv("SLACK_BOT_USER_OAUTH_TOKEN")
)slackrChtrans(
channels,
bot_user_oauth_token = Sys.getenv("SLACK_BOT_USER_OAUTH_TOKEN")
)
slackrChTrans(
channels,
bot_user_oauth_token = Sys.getenv("SLACK_BOT_USER_OAUTH_TOKEN")
)
vector of channel names to parse
the Slack bot user OAuth token (chr)
character vector - original channel list with #
or
@
channels replaced with ID's.