Question for any devs, I've started making a bot and
I'm just about done but
I need the bot to respond when someone says something
The basic idea of the bot is for emergency services roleplay community's
When the person says "!Call911"
The bot responds with "What is your emergency"
Now how do I get the bot to respond when the person says what the emergency is?
Here is Where I am stuckvar cmd = message.substring(1);
message: '911, Whats the nature and location of your emergency?'
});Now when the person responds with what their location and what is wrong i want the bot to respond saying that emergency services are on the way.
Be the first to answer this question.