Responses Command
The Responses command allows bot owners to create automatic replies when specific messages are sent in the chat. These responses can include dynamic placeholders like usernames, random values, and live chat data.
Command Usage
- !responses add <trigger> - <response>
- !responses remove <trigger>
- !responses list
- !responses minrank <rank> <trigger>
- A trigger is the exact message that activates the response.
- A response is what the bot will reply with.
- The separator - is required between trigger and response.
- Triggers are case-insensitive.
- Responses support dynamic placeholders.
- {username} — The user's display name
- {regname} — The user's registered name
- {id} — The user's ID
- {rank} — The user's rank (guest, member, mod, etc.)
- {chatname} — The name of the chat
- {chatonline} — Number of users currently online
- {chatusers} — Same as {chatonline}
- {online} — Same as {chatonline}
- {randomuser} — Random user in the chat
- {randomnumber} — Random number (1–100)
- {randomnumber:min-max} — Custom range random number
- {input} — The message after the trigger
- {date} — Current date
- {time} — Current time
- {latest} — Latest released power
- !responses add hello - Hello {username}!
- !responses add . - There are {chatonline} users online
- !responses add test - Random number: {randomnumber:1-10}
- !responses add who - Random user: {randomuser}
- guest
- member
- mod
- owner
- main
- The trigger must match the message exactly.
- The separator - is required when adding responses.
- Responses are saved automatically in the database.
- Placeholders update in real-time (user count, random user, etc.).
- You can combine multiple placeholders in one response.
This command lets you create custom auto-replies that trigger when users type specific words or messages.
How It Works
Placeholders (Dynamic Tags)
Example Commands
These commands create automatic replies when users send matching messages.
Removing a Response
To delete a response trigger:
!responses remove <trigger>
Example:!responses remove hello
Listing Responses
To view all custom responses:
!responses list
This shows all triggers and their responses.
Setting Minimum Rank
You can restrict responses to certain ranks:
!responses minrank <rank> <trigger>
Example:!responses minrank mod hello
Ranks:
Notes