bepolytech / ULBDiscordBot

Discord bot to verify a user's ULB studentship
https://hub.docker.com/r/bepolytech/ulbdiscordbot
GNU General Public License v3.0
4 stars 1 forks source link

Remove numbers from extracted names and add name column to database #42

Closed LucasPlacentino closed 3 months ago

LucasPlacentino commented 7 months ago
  1. Some users have an email address that has a number added to it if multiple people share the same firstname+lastname (i.e firstname.lastname2@ulb.be). We should remove any number from the user's name.

Screenshot_20240207_174207_Discord

  1. Another problem is that every time the bot is launched, it checks if every user has their name changed and changes it if it does match the one extracted from the email address, so if we manually make any changes to their Discord nicknames, it gets reset. We should add another column to the database for the name so that we can manually change it and keep it at re-runs. (in the example image above, I initially manually changed the nickname to remove the number)