brandonshin/slackbot-workout

KeyError: 'channel'

Opened this issue · 0 comments

Hi everything works fine up until it's time to assign a member to do the work out.

I get the following error in terminal:

File "slackbotExercise.py", line 126, in fetchActiveUsers
user_ids = json.loads(response.text, encoding='utf-8')["channel"]["members"]
KeyError: 'channel'