-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Simple way to handle any bot mentions #128
Comments
I think this is about right, but since you know the name upfront you could put it inside the I'd love this documented in README, please? |
Actually even better, maybe we should add a supported handler like |
Yes, that's what I was talking about 👍 I'll try to make PR when I have time.
The problem is that as far as I undestand name is known only on after-connect time in client as I didn't configure it anywhere. That's why I came to this and asked better solution. |
You're right @gsmetal. I also think whatever you come up with could work for any mention, so it could support |
I needed to handle any message that mentions bot. I didn't find how to do this simply and came to a little dirty scan:
Is there better way to achieve this? If not, I think it should be.
The text was updated successfully, but these errors were encountered: