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

Bug: Mention Conversion #90

Open
llmII opened this issue Feb 17, 2021 · 2 comments
Open

Bug: Mention Conversion #90

llmII opened this issue Feb 17, 2021 · 2 comments

Comments

@llmII
Copy link
Contributor

llmII commented Feb 17, 2021

If there is a discord user "awe" and you on irc do /me is awesome on discord it'll show up as /me is @awe some. Need to look into where this is happening and have it drop the mention conversion unless it's prefixed and suffixed by either space or punctuation or end of line. awe, how are you == @awe, how are you is good, awehow are you should equal awehow are you. For all I know this only happens within /me.

@qaisjp
Copy link
Owner

qaisjp commented Feb 21, 2021

Oh, is this happening because you have no suffix set?

My test suffix is ~d2 and if I set my nickname to awe on Discord, the following message will tag me on Discord: i am awe~d2some.

Yes, better word boundary detection can be added here.

@llmII
Copy link
Contributor Author

llmII commented Feb 21, 2021

That likely is why, no suffix set. I'll look and see if can detect " " surroundings somewhere soonish.

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

No branches or pull requests

2 participants