Skip to main content
When configuring custom DM Notices, you can use a select group of variables to inject dynamic data into the text. This allows you to format the message to your liking. For example, instead of typing a generic “You were promoted,” you can use {target.mention} to automatically ping the target. Below is the complete list of available variables, categorised by what they represent.

Target Variables

These variables pull information about the user who is receiving the staff action (the person being hired, fired, promoted, or demoted).

Executor Variables

These variables pull information about the user who actually ran the /staff command.

Server Variables

Information regarding the Discord server where the action took place.

Context & Action Variables

These variables represent the specific details of the staff action being executed, such as the roles involved and the reasons provided.
All variables are case-sensitive, i.e. {target.ID} and {oldrole.name} will not work, but {target.id} and {oldRole.name} will.

Real-World Example

Not sure how to put this together? Here is an example of what a message might look like when it is configured and how it will be seen by the user.
DM Notice Configured Example