Lang File
Introduction
Structure
Basic Structure
{
"commands": {
"/start": {
"text": "Welcome to our bot!"
},
"/help": {
"text": "Here's how you can use the bot..."
}
},
"types": {
// General types and templates
},
"titles": {
// General titles or labels used in the commands
// will be added to params
// can be accessed via params and via {name} in template
}
// Additional sections as needed
}Rules for Writing Language Files
Adding Commands and Responses
Command Structure in Language Files
Basic Template for Commands
Key Properties Explained
Example: Simple Test Command
Using Types and References
Setting Up the Language File in SmartBot
Last updated