Originally created for the Domaincord Discord server.
I'm assuming you already know how to get a bot token and add the bot to your server.
- Rename the
.env.example
file to.env
and fill in the appropriate values. - Edit the files
intro-message.md
,community-guidelines.md
, andverification-message.md
to add your own server rules and custom verification message. Do not change the filenames. - Duplicate the
.env.example
file and rename it to.env
. Fill in all of the values. - Create a channel called #verification in your server and make sure that the bot has permission to READ MESSAGES, SEND MESSAGES, and REACT TO MESSAGES.
- Run
npm install
- Run
npm start
or use a process manager like pm2 to keep the bot running across server restarts and automatically restart the bot if it crashes. - As the guild owner, run the command
[prefix]svm
in the #verification channel and delete previous bot messages if there are any.
Note:
- If you want to change the name of the verification channel, you need to change the value on lines 72 and 92.