Skip to main content
Kaori uses the powerful TagScript engine to allow for advanced logic in custom commands.

Variables

User Variables

Server & Channel

Arguments

Logic & Control Flow

If Statements

Check conditions and run different code.
Operators: ==, !=, >, <, >=, <=, ~ (contains). Examples:

Randomness

Generate random content.
  • Random Number: {random:min,max}
  • Fifty-Fifty: {5050:Head|Tails}
  • Random Choice (from list): To implement lists, uses advanced string splitting or helper tags - specific list tags coming soon.

Math

Perform calculations using {math:expression}. Supported operators: +, -, *, /, % (modulo), ^ (power).

Embed Builder

Create rich embeds directly in the response. Example:

String Manipulation

  • Slice: {slice(start, end):text}
Note: This reference covers the modules currently enabled in KaoriBot. With more to come in the future!
Last modified on February 22, 2026