Ubotu's repeat protection may need improvements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu IRC Bots |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Ubotu doesn't repeat the same factoid if asked more than one time in a row. This protection works with aliases, too, so "!codecs" immediately followed by "!mp3" will not print the factoid twice.
However, the pipe syntax breaks this, in that if the same factoid is addressed to different people, it will be repeated. Real-life example:
<BlueEagle> !langauge
<mc44> !ohmy | th
<tonyyarusso> !ohmy | thug
<ubotwo> Please watch your language and keep this channel family friendly.
<ubotwo> th: Please watch your language and keep this channel family friendly.
<ubotwo> thug: Please watch your language and keep this channel family friendly.
This kind of thing happens fairly frequently, as multiple people use the same trigger almost concurrently.
The behavior is, in theory, correct, as factoids addressed to different people are correctly presented to each of them; however, it is annoying in practice, and the specific case of "!factoid | nickname" followed by "!factoid" bare should definitely ignore the second invocation.
It has also been suggested that, for successive invocation, the bot should reply something akin to "<nickname>: see above", in order to avoid repeating unnecessarily lengthy factoids.
Changed in ubuntu-bots: | |
status: | Unconfirmed → Fix Released |