Commands Overview
Learn how Trexz command structures work, syntax conventions, and permissions.
Trexz provides a hybrid command execution model supporting both traditional text prefixes and native Discord Slash commands.
Command Syntax Rules
When viewing commands in these docs or using ?help, arguments follow standard Discord conventions:
| Token Format | Meaning | Example |
|---|---|---|
<parameter> | Required Argument - You must provide this argument. | ?ban <@user> [reason] |
[parameter] | Optional Argument - Defaults are applied if left blank. | ?kick <@user> [reason] |
<arg1|arg2> | Choice Selection - Pick one of the provided values. | ?automod <enable|disable> |
Slash Commands vs. Prefix Commands
Default Prefix (?)
Standard message commands work anywhere the bot can read messages. Default prefix is ? and can be customized with ?setprefix.
Discord Slash Commands (/)
Auto-completes command names, displays helpful input parameters, and ensures type validation directly inside the Discord client.
Pro Tip: If slash commands do not appear when you type /, ensure Trexz has been invited with the applications.commands OAuth2 scope or re-invite the bot using the Invite Link.
Core Command Categories
Explore all documented command categories:
🛡️ Security & Antinuke
Anti-raid, anti-nuke, whitelist, quarantine.
⚖️ Moderation
Ban, kick, mute, warn, purge, lockdown.
🤖 AutoMod
Anti-spam, anti-link, toxic word censorship.
🛠️ Utility & Server
Userinfo, serverinfo, avatar, poll, reminders.
🔊 Join to Create (J2C)
Dynamic temporary voice lobbies.
🎫 Support Tickets
Interactive ticket panels with transcripts.
🏆 Leveling & XP
Rank cards, leaderboards, role rewards.
💰 Economy System
Daily rewards, work, gamble, shop.
🎵 Music Playback
Play audio, audio filters, queue management.