We want an enhancement to the current !gossip feature. Because it might be funny.
User Story
As an end user of bottington I expect to be able to type a new !gossip haiku command. After typing it, I expect bottington to respond with three consecutive, random gossip lines, separated by newlines, with no duplicates.
Sample behavior
User: !gossip haiku
Bottington:
the cat can't into
because douche de lapin
You make me WET
Current (Undesirable user experience)
User: !gossip
Bottington: the cat can't into
User: !gossip
Bottington: because douche de lapin
User: !gossip
Bottington: You make me WET
Corner Case: Database has fewer than 3 Gossip entries
It is impossible to satisfy the requirements of the above when the database has fewer than 3 entries. In this case, simply output "Refrigerator" to replace the entries that cannot be satisfied:
Case 1: Zero entries
!gossip
Bottington:
Why are you haiku?
Purple fried water okay
Refrigerator
Case 2: One entry
!gossip
Bottington:
Why are you haiku?
<GOSSIP>
Refrigerator
Case 3: Two entires
!gossip
Bottington:
<GOSSIP>
<GOSSIP>
Refrigerator
Assumption: !gossip add and other related features already exist
We assume (and re-use) the implementation of such commands as !gossip add and other gossip-curating commands.
Feature Request
Summary
We want an enhancement to the current
!gossip
feature. Because it might be funny.User Story
As an end user of bottington I expect to be able to type a new
!gossip haiku
command. After typing it, I expect bottington to respond with three consecutive, random gossip lines, separated by newlines, with no duplicates.Sample behavior
Current (Undesirable user experience)
Corner Case: Database has fewer than 3 Gossip entries
It is impossible to satisfy the requirements of the above when the database has fewer than 3 entries. In this case, simply output "Refrigerator" to replace the entries that cannot be satisfied:
Case 1: Zero entries
!gossip
Case 2: One entry
!gossip
Case 3: Two entires
!gossip
Assumption:
!gossip add
and other related features already existWe assume (and re-use) the implementation of such commands as
!gossip add
and othergossip
-curating commands.