Zirak / SO-ChatBot

Other
124 stars 60 forks source link

Multiple bots with the same invocation pattern #124

Closed shea-sollars closed 11 years ago

shea-sollars commented 11 years ago

Sometimes Caprica Six goes down, and I want to have Andrew Jackson take her place.

When Caprica comes back, there are two bots with the same listeners and invocation patterns.

We need an easy way to tell Andrew Jackson to get lost, and not have Caprica Six think we're talking to her.

@AndrewJackson !!die should specifically address Andrew Jackson, Caprica Six should ignore it, and vice versa.

Zirak commented 11 years ago

Then have Andrew Jackson do that. Caprica already ignores any message which doesn't begin with the invocation pattern (as do yours).

An alternate solution is not have two of the same running at a time. See also https://github.com/Zirak/SO-ChatBot/pull/125#issuecomment-29092773