-
Notifications
You must be signed in to change notification settings - Fork 1
Discord integration
This feature is built for instances with restricted applications. That is, instances that require potential users to fill out a questionnaire and only allow access once an administrator has reviewed the users' answers and approved their application.
Examples of instances with such a sign up process include:
In order to expedite the process and quickly notify the instance's admin team, the AutoMod is capable of sending a Discord notification through a webhook.
As specified in the Installation page, this feature will only be active if a DISCORD_WEBHOOK_URL
environment variable has been set during the installation process.
Move to a server where you'd like to enable the integration and where you have administration permissions. Open the server's settings.
Click on "Integrations" > "Webhooks"
Create a new webhook and copy its URL by pressing the button. If you want to, you can customize the webhook's image.
Set the webhook's URL as the DISCORD_WEBHOOK_URL
environment variable. If this has been done on an existing installation remember to restart the container or restart the Node process.
The resulting messages will look like this. The bot will change its name to that of the applying user, the embed's message will be the user's answer to the application questionnaire.
The AutoMod for Lemmy is an open source project published with the GPL-3.0 license by Tommaso Ornato, built for the Based Count Lemmy instance.