Commands

There are three system message commands, each with the same subcommands.

  • welcome - Dispatched whenever a user joins the server.
  • goodbye - Dispatched whenever a user leaves the server.
  • boost - Dispatched whenever a user boosts the server.

The boost event is only dispatched if the server has the Discord System Message enabled or whenever the user receives the Server Booster role which only occurs once.

The following examples use the welcome command, but the same syntax is applied for the other system message commands.

Creating a system message

You can create a system message with the welcome add command.

The message parameter can be raw text or an embed with dynamic variables.

The --self_destruct flag in system messages schedules the message for deletion after a specified time, which must be between 6 and 60 seconds.


Removing a system message

You can remove a system message with the welcome remove command.