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

Ignore band name candidates that look like bot commands #112

Open
dgw opened this issue Sep 27, 2017 · 0 comments
Open

Ignore band name candidates that look like bot commands #112

dgw opened this issue Sep 27, 2017 · 0 comments

Comments

@dgw
Copy link
Collaborator

dgw commented Sep 27, 2017

Given that Bucket instances may coexist in channels that have other bots, it is sometimes amusing when Bucket decides to learn a band name from something like .wiki two words (someone looking up "two words" on Wikipedia), .t mein Freund (a translation command), etc.

Would it be reasonable to add a check that band name candidates !~ /^\W/ to core, or should that be plugin territory? Since it's most likely for Bucket to peacefully coexist with other bots that respond to punctuation-prefixed commands, not free text, having only that check is pretty effective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant