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
Im playing around with your code and tried to get it to work and it does give me an error at line 20
slackbot:20: error: invalid operands of types 'const char [39]' and 'const char [43]' to binary 'operator+'
#define SLACK_BOT_TOKEN "xoxb-111111111111-abcdefghijklmnopqrstuvwx" // Get token by creating new bot integration at https://my.slack.com/services/new/bot
^
C:\Users\work\Desktop\arduino-slack-bot-master\arduino-slack-bot-master\slackbot\slackbot.ino:177:57: note: in expansion of macro 'SLACK_BOT_TOKEN'
http.begin("https://slack.com/api/rtm.start?token=" + SLACK_BOT_TOKEN, SLACK_SSL_FINGERPRINT);
^
exit status 1
invalid operands of types 'const char [39]' and 'const char [43]' to binary 'operator+'
Well has it to do with the format of the token? I can't change that. Thanks!
The text was updated successfully, but these errors were encountered:
Removing the + sign between "https://slack.com/api/rtm.start?token=" and SLACK_BOT_TOKEN may do the trick. Also, are you using the latest Arduino version with the latest ESP8266 package?
I haven't run this code in about 1.5 years, so things may have changed since.
Hey man, first of all: great job!
Im playing around with your code and tried to get it to work and it does give me an error at line 20
Well has it to do with the format of the token? I can't change that. Thanks!
The text was updated successfully, but these errors were encountered: