WoodyZantzinger / dota2groupme

Bot merging GroupMe chat with Dota 2 Stats
1 stars 4 forks source link

Create better debug environment-- session-based debug #4

Closed mjdesrosiers closed 9 years ago

mjdesrosiers commented 9 years ago

Currently, can use Postman to generate individual POST messages to server. However, there could be situations where 1 message passes through fine, but multiple messages present issue. For instance, invoking #help yesterday caused the bot to respond to its own posts, seeing the # messages.

Proposing creating another sister server for debug that POSTs messages to the main server. Then, streams of messages could be simulated and tested.

WoodyZantzinger commented 9 years ago

Right now the bot is hardcoded into a single group from the GroupMe service. We can join group programmatically, although I don't know how.

If we set that up, we can simple make the debug argument join a test GroupMe group and do nothing locally!

mjdesrosiers commented 9 years ago

I'd call this closed with the additon of the /debugmessage interface. can push to live and test multiple messages without having to actually output to the group.