Giter Site home page Giter Site logo

crock / verification-bot Goto Github PK

View Code? Open in Web Editor NEW
66.0 3.0 20.0 40 KB

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

JavaScript 97.20% Dockerfile 1.82% Shell 0.99%
discord-js discord-bot verification-bot reaction-bot bot discord discord-verification

verification-bot's Introduction

Simple Discord Verification Bot

Originally created for the Domaincord Discord server.

https://discord.gg/R6wTYQ9

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. Duplicate the .env.example file and rename it to .env. Fill in all of the values.
  4. 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.
  5. Run npm install
  6. 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.
  7. 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.

Command Output

screenshot of command output

verification-bot's People

Contributors

crock avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

verification-bot's Issues

Error

When I do node or npm it will say "ReferenceError: TOKEN is not defined" I have my token in my .env correctly too.

channel

on channel name can i use channel id?

Error and question

Hi there,
I tried to install this bot but i keep having an error that says
"TypeError: Cannot read property 'name' of undefined at Client. ... \index.js:17:71)"
and next to that i was wondering where i have to define the roles they get after verification. and with getting a new role shouldnt it have role management rights too?
I hope you can help me,

Sincerely,

Qualabas

I get this error any idea?

Logged in as Verification#1148!
C:\Users\Meliodas\Desktop\BOT SELLER\verification bot\index.js:15
roleName = client.guilds.get(guild_id).roles.get(verified_role_id).name;
^

TypeError: Cannot read property 'roles' of undefined
at Client. (C:\Users\Meliodas\Desktop\BOT SELLER\verification bot\index.js:15:41)
at processTicksAndRejections (node:internal/process/task_queues:93:5)
npm ERR! code 1
npm ERR! path C:\Users\Meliodas\Desktop\BOT SELLER\verification bot
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node index.js

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Meliodas\AppData\Local\npm-cache_logs\2020-12-31T09_24_48_672Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.