I added USLACKBOT user when reading "users.json" so that developers don't have to care about exceptions caused by slackbot. I don't have archives including direct messages, so I couldn't test the code with this issue.
Pros:
Developers do not have to care about slackbot elsewhere.
We can easily add another bot when the slack log format changes. The code might be better if we replace slackbot = {...} dictionary with a json file but I didn't do it for no reason.
Cons:
Adding a non-existent user to __USER_DATA might not be the greatest approach.
related with https://github.com/hfaran/slack-export-viewer/issues/125
I added USLACKBOT user when reading "users.json" so that developers don't have to care about exceptions caused by slackbot. I don't have archives including direct messages, so I couldn't test the code with this issue.
Pros:
Cons: