🧩Actions
How it works?
You can find an explanation here.
Be sure to have read how to configure a character and how to configure a behavior before starting here.
List
This section lists all the types of actions that can be added to behaviors.
Every actions support the placeholders which can be used anywhere there is text.
SEND_MESSAGE
This action allows you to send a message defined in a channel.
Settings
Message
The message to send.
Text
Channel
The channel to send the message in.
Channel or "event channel"
SEND_EMBED_MESSAGE
This action allows you to send a embed message defined in a channel.
Settings
Title
The embed title.
Text
Description
The embed description.
Text
Footer
The embed footer.
Text
Image URL
The embed image.
Text (URL)
Color
The embed color.
Number (RGB)
Channel
The channel to send the message in.
Channel or "event channel"
AI_SEND_MESSAGE
This action sends an AI-generated message into a channel.
⚠️ This action consumes ai-credits. You can use SEND_MESSAGE if you want no consumption but you will not be able to generate messages by AI.
Settings
Pre-prompt
Context/Personality of the response.
Text
Prompt
User input.
Text
Message
The message to send.
Text
Temperature
AI temperature. Higher, more random and whimsical.
Selecting from a defined list
Channel
The channel to send the message in.
Channel or "event channel"
In most cases, the Prompt setting is set to {event_message} to match the message sent. Same thing for the Message setting which is set to {result} to send the generated message.
Here are some examples:
You're Harry Potter so answer like him.
You're {character} so answer like him.
You are {character} and your answers are very funny.
AI_SEND_EMBED_MESSAGE
This action sends an AI-generated embed message into a channel.
⚠️ This action consumes ai-credits. You can use SEND_EMBED_MESSAGE if you want no consumption but you will not be able to generate messages by AI.
Settings
Pre-prompt
Context/Personality of the response.
Text
Prompt
User input.
Text
Temperature
AI temperature. Higher, more random and whimsical.
Selecting from a defined list
Channel
The channel to send the message in.
Channel or "event channel"
Title
The embed title.
Text
Description
The embed description.
Text
Footer
The embed footer.
Text
Image URL
The embed image.
Text (URL)
Color
The embed color.
Number (RGB)
In most cases, the Prompt setting is set to {event_message} to match the message sent. Same thing for the Message setting which is set to {result} to send the generated message.
Here are some examples:
You're Harry Potter so answer like him.
You're {character} so answer like him.
You are {character} and your answers are very funny.
AI_RENAME_MEMBER
This action edit the username of a member of your server; AI-generated.
⚠️ This action consumes ai-credits. You can use RENAME_MEMBER if you want no consumption but you will not be able to generate name by AI.
Settings
Pre-prompt
Context/Personality of the response.
Text
Prompt
User input.
Text
New name
The new nember name.
Text
Temperature
AI temperature. Higher, more random and whimsical.
Selecting from a defined list
Here are some examples:
Your answer is a funny name from an existing name. The user input is the existing name.
RENAME_MEMBER
This action allows you to rename the member associated with the triggered event.
Settings
New name
The new member name.
Text
ADD_ROLE
This action is used to give a role to the member associated with the triggered event.
Role
The role to add.
Selecting from a defined list
REMOVE_ROLE
This action is used to remove a role to the member associated with the triggered event.
Role
The role to remove.
Selecting from a defined list
DELETE_MESSAGE
This action is used to delete a message with a specific delay.
Delay
Delay in seconds.
Number
💡 An "event channel" is an additional type of option which allows action in the channel where the event was triggered. This option can obviously only be used in contexts where a channel is concerned.
To understand how placeholders work, refer to this page.
Last updated