Create Route
Esta página aún no está disponible en tu idioma.
This guide will help you to quickly start developing a new bot using zumito-framework.
What’s a route?
A route is an a web endpoint to allow users or other programas to interact and retrieve information about your bot.
How can i create a route?
-
Create new route
Work in progress…
-
Edit your file
You will find a method like this:
Here you can run your route code. req and res parameters match the Express server params
Quick tips
Next steps
Once the project is configured, you can start creating a module for your bot. Here is a list of things you may want to do:
Create a command Start creating commands for your bot
Listen to an event Execute a piece of code when some event ocurs
Create database model Write a database model to store and retrieve data