The term “bot” is used to call the software application that runs automated tasks over the internet. Generally, this kind of thing performs tasks that are both simple and structurally repetitive, at a much higher rate than would be possible for the human alone.
Can you make bots? How to do it? You are able to build the bit for Roblox using the Microsoft Bot framework. By using the cognitive services of it, you are able to understand the conversations. There are some other great API from the cognitive services as well, such as the Computer Vision, Face API, Speech recognition, translation, recommendation, and so on. For the beginner, you can just use the thing called Language Understanding Intelligent Service to handle users input. In addition, you can use the NodeJS in order to stand up the quick service for the bot and deploy that to Heroku.
There are four major parts of the tutorial. The first one is setting up the bot. In this part, you will need nodejs and express or restify, create the bot folder in order to hold the directories and make it as the working folder. Then, please initialize the project and install express or testify. In the next step, you need to install the botbuilder. After that, please set up ESLint. Then, start the simple service. If you go to the local host in your browser, you will be able to get the response back from the server. If so, please move to more interesting pieces as the bot codes will be added. Now, it is time for you to head back to the nodebot folder, add the controllers folder and the news.js file. Please take a note that the news.js will be the heart of the bot. It will listen to requests from the users, call new API to fulfill the requests of the user and then response back with the appropriate messages. Beside, having the both app ID and password is important. Please go to the Dev Botframework and register for the bot. It will provide you those information. In the end, you are able to put the code in the news.js file that you created before.
Basically, all that should be done are creating the connector with the app ID and password you get from the Botframework, creating the universal bot using that connector, listening to the command and response back. If you send the word “Help”, the bot will send back “Hi! This is the help message”.
The second part is testing the bot. The third part is using LUIS to support the bot conversation. The fourth part is deploying the bot. For those who want to know the details of the rest of the steps, you can visit the site named Bot Tutorial. If there is any questions, try to join the community of Roblox and discuss everything with the members of the community who share the same interest as you. If needed, you can also reach out Roblox Support.