ssps-cajthaml/discord-bot

Create verify system

Closed this issue · 1 comments

Connected users would be able to verify their status at SSPŠaG by entering code that would be sent to their school-issued e-mail.

This will be solved different way. The bot will communicate with the portal API directly. In the settings of the portal user will be able to see code, that he will attach to bot command. Bot command will issue info from the API to recieve what subjects does he study.

Study subject has to be mapped to roles in configs. We also can read user name and map it to the user.

What needs to be think of is the "student" role, which is granted to users that study at the school, but dont have to study my subjects.