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

Better title cutting #10

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

bobcogneato
Copy link
Contributor

@bobcogneato bobcogneato commented Dec 3, 2023

Would super love to not use the emojis library but it seems like emojis don't really have a single block in unicode.
Ofc we could just include a static list of emojis or reference an external list

@feederbox826
Copy link
Owner

hmm, why would negating [A-Za-z0-9] not work?

@bobcogneato
Copy link
Contributor Author

I guess that would come down to a matter of preference. I like the way it looks when it cuts at the end of a sentence (emojis are often used in place of a period). Depending on how its implemented you could be cutting after commas, dashes, parenthesis, etc. And maybe that's fine, just not how I personally preferred it. You would also have to account for accented characters

@feederbox826
Copy link
Owner

LGTM, un-draft it and I'll bump the beta up to stable and make this the new beta

@feederbox826
Copy link
Owner

@bobcogneato bobcogneato marked this pull request as ready for review December 6, 2023 11:59
@feederbox826
Copy link
Owner

working great on adderbot, will merge and bump

@feederbox826 feederbox826 changed the base branch from main to beta December 6, 2023 23:25
@feederbox826 feederbox826 merged commit bacd146 into feederbox826:beta Dec 6, 2023
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