Sirush / UDHBot

MIT License
0 stars 0 forks source link

Added a 22 char GUID to the end of complaints. #80

Closed SimplyJpk closed 5 years ago

SimplyJpk commented 5 years ago

Haven't tested locally, don't have the databases, but it does build fine.

Did a short test to make sure guid was still unique when converted to Base64, over 10m entries I didn't get a collision. Not including that userHash is still at the start which increases the odds of never running into a collision 🤷‍♂️

SimplyJpk commented 5 years ago

If we do eventually have a 'archive' command, it'd make more sense to edit that so that we can still prevent users from having multiple complaints open.