-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: show a shinny error on duplicated account
when an user attempt to link a discord account which has already be linked to another SeAT user, it's throwing an exception due to the table integrity constraints. this is introducing a more user-friendly experience by showing them explicitly they're attempting to link their account to another one. action is logged with further details which can be useful for staff.
- Loading branch information
Showing
1 changed file
with
62 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25ac988
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LN: 38-39
""
Go at the footer section called
Bot
and checkRequire OAuth2 access code
and also checkSERVER MEMBERS INTENT
, then confirm change usingRegister modification
button at the bottom of the page.Finally, retrieve the bot token by clicking on the
Click here to reveal
link.""
Fixing error message below. Wanted to propose changes but it is not public. Hopefully you will see this.
""
GuzzleHttp\Exception\ClientException: Client error:
GET https://discord.com/api/guilds/853944470705274901/members?limit=1000
resulted in a403 Forbidden
response:{"message": "Missing Access", "code": 50001}
in /var/www/seat/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113