Logging Commands
Join
Send a randomly-selected message to a channel when a new user joins.
The /logs join commands let Zira send a join message to a specified channel when a new user joins your server. You can configure multiple messages and Zira picks one at random per join.
Want to log members leaving instead? See the leave commands. Want a richer editing experience? The Dashboard's join/leave message page supports the same placeholders with a live preview.
Zira needs Send Messages permission on the channel you want messages sent to.
Setting Up The Join Message System#
/logs join set enables the join system and sets the channel announcements go to.
Usage#
/logs join set <Channel>
Example#
Adding Join Messages#
/logs join add adds a new message to the pool. Zira picks one at random for each join.
Text Messages#
Plain-text join messages are the simplest form.
Usage#
/logs join add text <Your text here>
Example#
Embedded Messages#
For richer formatting, build the message in the embed builder and pick Join as the type. The builder posts directly into your join message pool, supports live placeholder preview, and removes the need to hand-edit JSON.
If you do still want to send raw JSON via the slash command:
Usage#
/logs join add embed <JSON Code>
Example#
Placeholders#
Both text and embedded messages support placeholders that Zira replaces at send time.
| Placeholder | Description | Example |
|---|---|---|
$user$ | Username | JakeyPrime |
$id$ | User's ID | 165047934113677312 |
$mention$ | A user ping | @Profit |
$guild$ | Server name | Team Hydra |
$membercount$ | Member count after the join | 30847 |
$discriminator$ was removed in 2023 when Discord retired the four-digit discriminator system.
Log Examples#
Text Message#
Embedded Message#
Listing Current Join Messages#
/logs join list
Example#
The IDs printed here are what /logs join remove takes.
Removing A Join Message#
/logs join remove <ID>
Get the ID from /logs join list above.
Example#
Disabling The Join System Entirely#
/logs join disable