Home Commands Terms & Privacy Add to Discord

TagScript Documentation

Create powerful, dynamic custom commands with Axion's TagScript engine

What is TagScript?

TagScript is the scripting engine Axion uses for custom tag commands and slash tag responses. It gives you variables, conditionals, math, random selection, embeds, command calls, reactions, and custom Discord actions.

Axion supports a curated set of TagScriptEngine blocks plus custom blocks from cogs/tags and cogs/slashtags. This documentation describes the features available in the bot today.

Quick Example

{if({args}==):Hello {user(name)}!|You said: {args}}

This tag responds differently when arguments are supplied.

See the blocks and variables pages for the exact commands supported by Axion.

🧱

Blocks

Learn about all available TagScript blocks including math, random, control flow, and more.

📦

Variables

Access Discord data like users, channels, servers, and arguments in your tags.

⚙️

Parsing

Advanced features like embeds, cooldowns, permissions, and command overrides.

💡

Examples

Real-world examples and templates to jumpstart your custom commands.

🔧

Configuration

Learn how to set up and configure the Tags cog in your server.