Custom Commands
Create prefix-triggered text or embed replies — rules, FAQs, social links, and more. No slash commands or coding required.
Overview
Members type your configured prefix plus a trigger (e.g. !rules). Lio replies instantly with your text or embed.
Each command can have role and channel restrictions, a per-user cooldown, and optional deletion of the trigger message.
Setup
- Enable Custom Commands in Modules.
- Open the command builder panel and click Create first command.
- Set trigger and response — use placeholders like {user} and {args}.
- Optional: embed mode, restrictions, cooldown, delete trigger.
- Save module config — commands go live immediately.
Placeholders
- {user} — mention of the author
- {user.tag}, {user.id} — Discord tag and ID
- {server} — guild name
- {channel} — mention of the current channel
- {args} — text after the trigger
- {memberCount} — current member count
Restrictions & cooldowns
Allowed roles: only members with at least one listed role can use the command. Empty = everyone (except blocked).
Blocked roles and channels deny usage even if allowed lists match.
Cooldown is per user per command in seconds — prevents spam on hot triggers.
Global settings
- Prefix — prepended to every trigger (default !).
- Case-sensitive — when off, !Rules matches trigger rules.
- Delete trigger by default — new commands inherit trigger deletion.
- Log channel — optional audit line when a command runs.
Troubleshooting
- No reply → module enabled? trigger spelling matches prefix+name? user has required role?
- Wrong channel → check allowed/blocked channel lists on the command.
- Command ignored → cooldown active or command disabled in the builder.
- Bot needs Send Messages (and Embed Links for embed replies) in the channel.