Setting up the single-channel bot is simple.
slackr_setup(channel = '#channel_with_webhook', incoming_webhook_url = 'your_webhook')
. You can also follow the config file setup directions below instead of passing the channel and webhook directly.And that’s it! You should be able to post a message with slackr_bot('test message')
library(slackr)
slackr_setup()
slackr_bot('Test message',
channel = '#test',
username = 'mrkaye97',
icon_emoji = 'tada')