Simpukka is a programming language provided in monni. The backend builds upon jinja2.
Most of jinja2’s features are supported in simpukka and so we highly recommend you look at their documentation for a deeper understanding of the syntax and features.
Variables store data imported automatically by Monni. Existing variables can be found in the documentation page for each template. Variables should be enclosed in double curly brackets {{}}
Variables follow simple and easy to understand structures. These variables follow a simple tree structure. Each variable has a root and each root contains children. Children can be leafs (value) or objects (subtrees)
Functions only have args and return if they exist or it might have a link to page about the function.
Like with variables, jinja2 expressions use brackets (% %)
, instead of curly brackets {% %}
.
Statements are where if and for loops are supported. You can read more about the syntax Here
You can specify the mode for messages. If an embed is supported you can set a message to be an embed by doing (( config.embed() ))
We are currently migrating to model where embed structure is detected automatically.
Discord has built in formatting which can be used to enchance simpukka messages.
Did you know simpukka is open source? Check out the Github repository!