Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move Nitro emojis #157

Closed
wants to merge 3 commits into from

Conversation

00-kat
Copy link
Contributor

@00-kat 00-kat commented Feb 17, 2025

Closes the first part of #155.

_EMOJI_REGEX = re.compile(r"<(a?):(\w+):(\d+)>", re.ASCII)


def _convert_nitro_emojis(s: str) -> str:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure where to put it. It's unlikely to be used outside of the move_message_via_webhook() function, but it also doesn't feel right leaving it in webhook.py. I can't put it in __init__.py as that would cause a circular dependency.

@00-kat 00-kat mentioned this pull request Feb 16, 2025
10 tasks
@00-kat 00-kat marked this pull request as ready for review February 17, 2025 08:06
@00-kat 00-kat mentioned this pull request Feb 17, 2025
@trag1c trag1c force-pushed the another-cleanup branch 2 times, most recently from eb4ddfd to fc56c5b Compare February 18, 2025 23:17
This is similar to the “fake-nitro” extension in some
things-that-shall-not-be-named.
@trag1c trag1c deleted the branch ghostty-org:another-cleanup February 24, 2025 23:18
@trag1c trag1c closed this Feb 24, 2025
@00-kat 00-kat mentioned this pull request Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants