norrisng / FcomClient

Forwards private and frequency messages on IVAO and VATSIM via Discord DM.
https://www.norrisng.ca/fcom
GNU General Public License v3.0
7 stars 3 forks source link

Notify user if Discord code in use is invalid #9

Open norrisng opened 5 years ago

norrisng commented 5 years ago

Provide some sort of feedback in the GUI if a forwarded message uses a Discord code not associated with any user (e.g. it expired, or the user removed it via the remove bot command), so that the user knows that the code being used has expired.

The API returns a HTTP 400 error if the Discord code isn't registered to any user, so that can be used by the client to detect such an error.