Authentication bot for hack^2.
When a user fills out a google registration form the data gets sent to a googlesheet, from there a js script is triggered and sends over this data via a http webhook to a mongodb server, when mongo detects the request, it triggers another js script that saves the data in mongodb making it accessible for the discord bot.
git clone https://github.com/Hack-2/Hacky-Authpython3 -m pip install -r requirements.txtpython3 bot.py- .env file format:
{ "token" : "DISCORD_TOKEN", "mongodb_user" : "MONGODB_USERNAME", "mongodb_pass" : "MONGODB_PASSWORD" }
+===============+=======================================================================================+
| Command | Description |
+===============+=======================================================================================+
| !help | Lists all available commands. |
+---------------+---------------------------------------------------------------------------------------+
| !info | Lists user's info such as (registration date and workshops attended). |
+---------------+---------------------------------------------------------------------------------------+
| !plot | Plots the increase of registered users daily. (Organizers Only) |
+---------------+---------------------------------------------------------------------------------------+
| !purge | Deletes all messages in a specific channel. (Organizers Only) |
+---------------+---------------------------------------------------------------------------------------+
| !verify #CODE | Verifies codes given at workshops to prove attendance and saves them in the database. |
+---------------+---------------------------------------------------------------------------------------+
- Send matplotlib graphs about users registrations. ✅
- Add exceptions to pass any possible errors. ✅