At the moment I have 2 projects. One is my bot which is a console application, which sends messages to my slack channel and listens into it. My second project is an .net MVC
application which listens to post request incoming from slack.
A typical round of communication would be the user typing play!
The bot would pick up play! and then it would send an interactive message with buttons. When the buttons are pressed, it sends a post request to my .net MVC
application which is deployed to azure.
I'm a little stuck at the moment. How do I get the web application to send a notification to my console application to simple begin the game?
At the moment when an interactive button is clicked and my MVC
app registers it, the MVC
application will make an entry into the database. My bot application is busy querying every 5 seconds to see if there's an entry in the database to play the game. A better solution would be greatly appreciated.