refactor bot code to include action queue
Merge pull request #1 from mmapplebeck/master

refactor bot code to include action queue