PyDrocsid / cogs

The official cog library used by PyDrocsid bots
GNU General Public License v3.0
13 stars 5 forks source link

Improve unicode handling in ReactionRole model #138

Closed Defelo closed 2 years ago

Defelo commented 2 years ago

The ReactionRole database model currently hex encodes unicode emojis to store them in the database. Use Text(collation="utf8mb4_bin") and store the unicode emojis directly instead.