Giter Club home page Giter Club logo

discord-authjoin's Introduction

🤑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.

🛑IMPORTANT🛑:What you will need is a discord bot, a discord application, and a server.

AUTOMATED Setup

Run oauth.py enter your DISCORD USER TOKEN and it will fetch all data aswell you need to start the setup.py credits to @swishyw

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

opera_F9NGA2EeV9

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.

opera_vXfFJ1nWUU

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!!!!! opera_f22iKehJjl For now, we are done here.

Installation FLASK API PART 1

This will be very easy

First install the requirements:

pip install -r requirements.txt

, open up setup.py in there we will need to input 4 things: CLIENT_ID, CLIENT_SECRET, CLIENT_TOKEN (this is the bot token) , DOMAIN, welcome_channel, Member-role.

If you want to test some stuff or add some go ahead but be sure to leave a like. Now it will ask you if you want to start the API say yes.

Installation Discord bot PART 2

INFO❗: You can make your own discord bot if you want this whole process is API-based so if you want you can even make a telegram bot whatever you wish suits you best.

We are now going to open bot.py Now we are going to enter the domain the Bot will automaticly fetch all details. It will start after automatic.

Starting the system

If you want you can copy the files to your server to run there or leave it on your PC

first, we are gonna make a flask server if you don't know how to watch this

After flask server deployment running 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

To restore the users do:

!restore YOURRESTOREKEY

Now all users will be back added.

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:

haze#2603

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

DONE:

  • 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.

discord-authjoin's People

Contributors

aspect2222 avatar mrgrupprr avatar

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.