Skip to content

Ignore band name candidates that look like bot commands #112

@dgw

Description

@dgw

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions