human-internet / discord-bot

Code for a bot that allows user authentication with Discord (i.e. you login with humanID and you get assigned a role of 'authenticated')
1 stars 1 forks source link

[TN-271] Account for when server admin removes humanID Verified role entirely #119

Closed ccrawford4 closed 4 months ago

ccrawford4 commented 6 months ago

Task: If a admin or member tries to use one of the bot's commands and the humanID Verified role has been removed, respond with this message:

"The 'humanID Verified' role has been removed. If you are the server admin please recreate the 'humanID Verified' role to continue using the humanID Verification bot"

ccrawford4 commented 6 months ago

@bastian-purrer Proposed error message ^

bastian-purrer commented 6 months ago

@ccrawford4 why is it called "Verification Role" once and "Verified Role" after? also as admin, i wouldn't think this instructions are very clear. what if we phrase it as:

The 'humanID Verified' role has been removed. If you are the server admin please recreate the 'humanID Verified' role to continue using the humanID Verification bot"

tech-lead-humanID commented 6 months ago

@ccrawford4 why is it called "Verification Role" once and "Verified Role" after? also as admin, i wouldn't think this instructions are very clear. what if we phrase it as:

The 'humanID Verified' role has been removed. If you are the server admin please recreate the 'humanID Verified' role to continue using the humanID Verification bot"

Done

tech-lead-humanID commented 4 months ago

Currently account for the case in this way: During the verification process, if the bot detecting that the "humanID-Verified" role has been removed, would try to add it back again. If can't, just complaining the permission stuff as always.