khakers / modmail-viewer

An advanced web frontend for the modmail discord bot with built in Discord OAuth2 authentication, and support for browsing and searching current and historical logs. Directly replaces logviewer.
MIT License
10 stars 4 forks source link

Full support for discord unique usernames #70

Closed khakers closed 1 year ago

khakers commented 1 year ago

Discord migrating users off means that default avatars will be broken and fake discriminators will be needlessly displayed for migrated users.

I've already done worked in the develop branch (fa7dcb3) to better support but I haven't fully tested it and the develop branch won't be merged to master for a while. fa7dcb3 needs some code cleanup and to be cherry picked to master to target v0.6.4. Discord just migrated my account so I'll be able to properly test with some real user data.

The one important missing feature in this implementation is support for display names. Modmail doesn't save them and I don't foresee it doing so in a timescale I consider relevant so they're just getting skipped for now. I don't consider this a dealbreaker