🤑
Discord-backer
🤑
A open-source Discord member backup and restore tool for your server. This can help you get all your members in 5 Seconds back after a raid if someone destroyed your server.
1. Setup
First, we are gonna need your discord bot token, Client ID, Client Secret. This we can do at the discord developers site Now we are gonna make a new application
Once we have our application set up, we are gonna click on OAuth2, here we will find our Client ID, Secret Token, and our redirect URL. These we will need for later so save them.
At last we are gonna need a bot token watch this on how to make a bot
Redirect
Now we are gonna add the redirect. Press on Add Redirect and paste: https://yourdomainhere.com/discordauth AND NOW SAVE IT!!!!! For now, we are done here.
Installation FLASK API PART 1
This will be very easy First, open up application.py in there we will need to edit 4 things: CLIENT_ID, CLIENT_SECRET, CLIENT_TOKEN (this is the bot token) , DOMAIN
INSERT the things from the discord dashboard
NOW THIS IS VERY IMPORTANT GO INTO database.ini with any text editor and ADD YOUR SERVER ID UNDER guildid
guildid = 825892582
If you want to test some stuff or add some go ahead but be sure to leave a like. Now save this file.
Installation Discord bot PART 2
INFO
We are now going to open bot.py Now we are going to edit 6 things: token(bot token), guild(put your guild ID there), welcome_channel(were new people are getting greeted), memberrole(this is the verified role that will be added after passing verification), clientid(From discord dashboard), domain(your domain).
We are here now done
Starting the system
FIRST WERE GONNA INSTALL THE REQUIREMENTS on your flask server/ discord linux server
pip install -r requirements.txt
first, we are gonna make a flask server if you don't know how to watch this
After flask server deployment your gonna run the bot:
python bot.py
Now your all set. You will need to set your server so you can only see channels if you have the verified role
Endnote
Please leave a like this took lots of time to code and it wasn't easy. If you have any questions dm me on discord: gruppr#2293
Have fun using this I hope it will help
Update roadmap
These are the plans what I am trying to add.
- Web GUI for restoring/backuping the members
- Telegram bot For restoring/backuping
- Easier instalation, via batch or via linux instalation file
Advanced
This is for the PRO coders You can edit the discordauth HTML template if you want. It is located in the folder template
Also this system is API based so you can also make your own discord bot if you want.