Closed ofalk closed 1 year ago
Workaround: pip install emoji<2
.
remove the option use_aliases=True
Correct resolution is a little more complicated, since only removing the option will sacrifice the emoji alias functionality.
It is probably time to add emoji
as a proper requirement (maybe a setuptools extra), since this is a major API change that would be very tedious (but not impossible) to detect and adapt to at runtime.
A PR is welcome, or I will get to this myself within a week or so.
Very good point. Maybe I can draft something that you can build up upon.
Looking at the code, the changes and how it's supposed to be used now, it seems the change is straight forward.
https://github.com/sopel-irc/sopel-github/blob/588db54d477a46bc6e8db277869a1a4240318412/sopel_modules/github/formatting.py#L31
Please remove the option use_aliases=True from this line. If you prefer, I can also send you a PR - it's pretty straight forward.