This discord bot uses discord.py 2.0+, interactions, and app_commands. It will allow you to set a channel for it to use for its authentication. (it will send an embed there with buttons). I originally wanted 1 button and to have a modal pop up asking for an email and then another modal to pop up asking for the auth code sent to your email, but discord.py or discord won't let that happen so we'll have to deal with having 2 buttons instead. But ultimately, this bot will allow you to have more control over who is allowed into your discord servers.
If you notice any spelling errors, mistakes, or any issues at all. Please feel free to make an issue <3
- git clone https://github.com/therealOri/MailerBot.git
- cd MailerBot
- virtualenv mlrENV
- source mlrENV/bin/activate
- pip install -r requirements.txt
From here, you will need to update your config_mail.json file. Then run the python command below.
- python mail.py
This all assumes you have set up an account over at mailtrap and have set up "Sending Domains" and have all of the DNS stuff set up as well. (you WILL need your own website/domain..which you can do/register with cloudflare for like $10 a year)
If you need help with setting up things with mailtrap, how to register a domain, hosting, etc. Please head on over to the discussions page and we can talk there!
Donate to me here:
- Don't have Cashapp? Sign Up