TripSit / TripBot

The discord bot on TripSit.Me
22 stars 12 forks source link

Start work on appeals system #792

Open AlanaRm-rf-me opened 2 months ago

AlanaRm-rf-me commented 2 months ago

Users who are banned from a discord guild don't have a great way to interact with that guild to appeal a ban. This system creates a website that allows a user to see and appeal their bans to specific guilds. The guilds receive the appeal and can act on it. The user can check the web-page, or if they provide their email can be sent an email, once a decision has been made. Check out this planning document for screen shots but the general flow we need:

1) You need to login to discord first. This is the only way to prove you own that discord ID you want to appeal for 2) The bot will check the database to see if there are any active bans, and if so, it will display the appeal page 3) User can fill in and submit the appeal 4) The thread that showed the user was banned originally is used again to show the appeal to the team 5) The appeal message includes buttons to vote on the outcome 6) Once 24 hours has passsed, the appeal can be finalized, which saves the outcome to the database 7) The banned user can then re-check the website to see the status of their appeal 8) Depending on the ban/appeal, we can allow re-appeals after a determined amount of time

I started doing this in Vue in this repo, specifically this page and i have a live demo at https://tripbot.site This would need to be re-done in nextJS to be integrated into our main website

Courtesy of @LunaUrsa

I will begin catching up to date, communicating with moon on this more, when/if ready to start the NextJS