First, create an OAuth2 bot using Discord's API. For this application, you will need the token.
The basicverify application is currently designed for single-servers per instance. This works fine for the case I intended it to be used for.
If you have done this before, then this should be pretty straightforward. If not, go visit https://discordapp.com/developers/applications/me/create to create an application. Name the application with something you want to name it and save it - then choose "generate a Bot user" afterwords and generate the token, client ID, etc.
If you plan to give your bot to other servers, check the "Public Bot" when generating it, so others can use your invite link. Otherwise, it will only work if (you) - the person who created the bot token - invites the bot.
**Save your client ID and token. They are different things :-) **
Visit: https://discordapi.com/permissions.html#470109248
On the bottom left, paste in your client ID (not token!) and it will generate an invite link. Use this link to invite the bot to your server. You must have Manage Server permissions. The bot will have a pre-made role assigned with the permissions from that link, which are correct for this bot. No other permissions are needed.
Now, take your token, which should never be given out, and (after cloning the repo), use it to edit the line in verify.js
- specifically:
const TOKEN = ''; // Bot users only. Your OAuth2 bot token will go here (not client ID).
(you can see it here: https://github.com/shikhir-arora/basicverify/blob/master/verify.js#L12)
Please continue reading the README page for the rest of the install information. Thanks!