Skip to content

Simple Discord.js bot for verifying new members are not bots

Notifications You must be signed in to change notification settings

crock/verification-bot

Repository files navigation

Simple Discord Verification Bot

Originally created for the Domaincord Community.

Usage

I'm assuming you already know how to get a bot token and add the bot to your server.

  1. Rename the .env.example file to .env and fill in the appropriate values.
  2. Edit the files intro-message.md, community-guidelines.md, and verification-message.md to add your own server rules and custom verification message. Do not change the filenames.
  3. Open index.js and edit the values of the variables on Lines 2-5. Don't touch anything else unless you know what you are doing.
  4. Run npm install
  5. 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.
  6. As the guild owner, run the command !svm in the channel you want designated as the verification channel. Make sure the bot has access to send messages, delete messages, and react to messages in this channel!

Command Output

screenshot of command output