Leave messages can have several uses:
inform members when someone who had used their invitation, such as a friend, leaves
for statistical purposes
Once you are connected to the dashboard, click on the Manage button, under the name of your Discord.
Enter a message (it will be sent when a member leaves the server) and select a channel (the one in which the messages will be sent), then click Enable the messages.