EmailBot Discord Bot Logo

EmailBot Discord Bot

Invite EmailBot bot to your server and use its verification commands to ensure your members' emails are valid. Get the Discord bot now!

0 upvotes in November

EmailBot Discord Bot Described:

Discord bot for verifying the email domain of server members

EmailBot allows you to verify that your Discord server members have an email address with a specific domain.

Discord License

Invite: https://discord.com/api/oauth2/authorize?client_id=731027450607435846&permissions=268503040&scope=bot

Discord server: https://discord.gg/MfFMxu9

Usage

After inviting the bot to your server, a domain must be added using .dominadd domain. .vstatus is the help command:

User commands: 
   .verify -> Sends a DM to the user to verify their email
   .vstatus -> This help message

Admin commands: 
 - A domain must be added before users can be verified.
 - Use .rolechange instead of server settings to change the name of the verified role.
   .enableonjoin -> Enables verifying users on join
   .disableonjoin -> Disables verifying users on join
   .domainadd domain -> Adds an email domain
   .domainremove domain -> Removes an email domain
   .rolechange role -> Changes the name of the verified role

Domains: 
Verify when a user joins? (default=False): False
Verified role (default=Verified): Verified
Example

Let’s say you want a Discord server just for people who have a @randomuniversity.edu email address. Add this bot to your server and when someone joins, they will get a DM asking for their @randomuniversity.edu email address. The bot then emails them a verification code. If they reply with the correct code, they get the “Verified” role.

<p align=“center”>
<img src=“docs/screenshot.png” />
</p>

Installation

Install the dependencies:

pip install -r requirements.txt

Before running it make sure these environment variables are set. You will need a Sendgrid and Discord account (both are free):

export SENDGRID_API_KEY='YOUR_SENDGRID_API_KEY'
export SENDGRID_EMAIL='YOUR_SENDGRID_EMAIL'
export DISCORD_TOKEN='YOUR_DISCORD_TOKEN'

Run the bot with:

python bot.py
Task list
  • [ ] Separate bot commands/events into cogs and put sqlite commands in a separate file
  • [ ] Make the flask server and scheduled sqlite backups optional
  • [ ] Allow roles with spaces to be added
  • [ ] Make the feature that allows users who leave to retain their Verified role when they join back, optional for the server admin
  • [ ] Add a .unverify member command
  • [ ] Use Role.id instead of Role.name
License

EmailBot is licensed under GNU GPL v3.

Check out the home page for the full Discord Bot List.

Frequently Asked Questions

How do I add EmailBot Discord Bot to my server?

You can add EmailBot to your Discord Server by pressing 'Add EmailBot Discord Bot' on this page.

More Discord Bots

Pokétwo Discord Bot Banner
Pokétwo Discord Bot Logo
5,399
1.4M

The Pokémon experience, on Discord. Catch, level, and evolve Pokémon, trade and battle with friends, and more. All free and open source.
Dank Memer Discord Bot Banner
Dank Memer Discord Bot Logo
4,124
9.2M

Meet the largest in-app indie game on Discord. A currency and fishing game for catching creatures, collecting items, robbing your friends, taking care of pets, building skills, and more!

Information

Prefix: .vstatus
Servers: unknown
Users: unknown
Created by: ggelango#7579