Server messages
Welcome, goodbye, boost, unboost, join-DM and punishment messages, and how auto-delete differs on each.
Righteous can post your own embed code when someone joins, leaves, boosts, stops boosting or gets
punished, and DM one the moment they join. They all use the embed-code language;
this page is where you save each one. Try a code first with
,customembed, so a typo costs you one
message instead of the next real join.
,config welcome is a different thing: it sends a
plain log embed to a log channel. The two run independently.
Set a welcome, goodbye, boost or unboost message
Each needs Manage Server. A server can set one message per channel per trigger, in as many channels as you like.
| Trigger | Command |
|---|---|
Member joins | ,welcomemessage (,wmsg) |
Member leaves | ,goodbyemessage (,gbmsg) |
Member boosts | ,boostmessage (,bmsg) |
Member stops boosting | ,unboostmessage (,ubmsg) |
Syntax
,welcomemessage add <channel> <code> [++delete <seconds>]
Example
,welcomemessage add #general {color: #fb4868}$p{title: Welcome to {guild.name}}$p{description: {user.mention} is member number {guild.membercount}.}$p{thumbnail: {user.avatar}}$p{button: link && Read the rules && https://discord.com}Welcome to Righteous
@jason is member number 1,247.
The other three take the same shape. Each also has check, list, remove and reset:
Syntax
,welcomemessage check <channel>
Syntax
,welcomemessage remove <channel>
Syntax
,welcomemessage reset
{user.mention}pings,{user}is plain text.{guild.membercount}and{guild.boostcount}are read at send time.- A colored button can carry a private reply. It works on all four, and on a join DM, and it is filled in for whoever presses it.
Syntax
,welcomemessage add <channel> <code>
Example
,welcomemessage add #general {title: Welcome, {user.name}}$p{button: blue && Rules && reply: {description: Be kind and keep chat on topic.}}Welcome, begging
Auto-delete a message
Trail ++delete <seconds> on add to remove the message after a delay. Each surface treats it
differently:
| Surface | ++delete |
|---|---|
Welcome, goodbye, boost, unboost | 1 to 60 seconds |
stripped, never scheduled | |
stripped, never scheduled |
Syntax
,welcomemessage add <channel> <code> ++delete <seconds>
Example
,welcomemessage add #general {description: {user} joined}$p{button: link && Rules && https://discord.com}$p ++delete 5begging. joined
Digits only, flag last
These four read ++delete only at the very end and refuse a value they can't read, so
++delete 1m is an error rather than a guess. Write whole seconds, 1 to 60.
Send a join DM
,joindm (Manage Server) DMs a code to a new member
the moment they join. No channel and no auto-delete: a DM the member may not have opened shouldn't
vanish.
Syntax
,joindm add <code>
Example
,joindm add {color: #fb4868}$p{author: {guild.name} && {guild.icon}}$p{title: Welcome, {user.name}}$p{description: You're member number {guild.membercount}. Read the rules first, then say hello.}$p{thumbnail: {guild.icon}}$p{button: link && Read the rules && https://discord.com}Righteous
Welcome, begging
You're member number 1,247. Read the rules first, then say hello.
Syntax
,joindm check
Syntax
,joindm remove
No channel tokens in a DM
A DM has no channel, so a {channel.name} or {channel.id} anywhere in the code leaves every
token as raw text, {guild.name} included. Name the server with {guild.name} and {guild.icon},
since the DM has nothing else to say who sent it.
A member with DMs closed never receives one, and the bot can't tell you.
Customize a punishment message
,custommessage (,cm) replaces the
confirmation for a ban, jail, kick, mute, warn, timeout or any reversal with your own code. Manage
Server and Server Premium: without it the whole command is refused and the defaults keep posting.
Syntax
,cm <punishment> <code>
Example
,cm ban {color: #fb4868}$p{author: {user} && {user.avatar}}$p{description: **{user}** was banned from {guild.name}.}$p{footer: User ID {user.id}}$p{timestamp:}begging.
begging. was banned from Righteous.
User ID 000000000000000000
<punishment> is ban, jail, kick, mute, unban, unjail, unmute, warn, timeout or
untimeout.
Syntax
,cm <punishment> check
Syntax
,cm <punishment> reset
Syntax
,cm reset
,cm reset alone clears every
punishment message.
- Every
{user.*}is the punished member, not the moderator. - There is no token for the reason, duration or moderator.
{reason}posts the wordreason. - Use
{user}, not{user.mention}. The member is gone by then, so a mention is a dead grey pill.
Use the slash commands
Welcome, goodbye, boost, unboost and punishment messages are one command,
/messages, with a group per
surface (/messages welcome add). Join DMs are separate:
/joindm. On slash, add opens a pop-up for the code,
++delete included.
Common issues
A message never posts. The target must be a text channel the bot can see and send to. A code that renders to nothing (every tag misspelled) also posts nothing.
++delete does nothing on a join DM. By design. It works on welcome, goodbye, boost and unboost.
Only the welcome message is missing. Check Send Messages and Embed Links in that channel. A failure there no longer stops join DMs, autorole or role restoration.
,cm answers "Server Premium Only". That's the gate. Every other command here is free.
