Opened 5 years ago

Closed 5 years ago

#3703 closed change (fixed)

Add "coin flip" feature to the IRC bot

Reported by: kzar Assignee: kzar
Priority: Unknown Milestone:
Module: Sitescripts Keywords: abpbot, irc
Cc: sebastian, fhd Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by kzar)


Sometimes it's necessary to make a decision randomly. When either option is equally valid but it's still important to make a decision.

What to change

Add a decision making "coin flip" feature to the IRC bot abpbot. When a user calls the bot's name in a public channel, giving the choice between multiple options it should respond with a random choice.

For example:

   botname: x or y?
   => asker: x

   botname: a or b or c?
   => asker: b

Change History (5)

comment:1 Changed 5 years ago by kzar

  • Review URL(s) modified (diff)
  • Status changed from new to reviewing

comment:2 Changed 5 years ago by kzar

  • Description modified (diff)

comment:3 Changed 5 years ago by kzar

Although this is a kind of funny idea I think it's actually pretty useful. It gives us a fair way to quickly make random decisions within the team, which are sometimes required.

(For example as I type this both issues #3670 and #3671 are blocked by such a decision.)

comment:4 Changed 5 years ago by sebastian

Yeah, why not? Though, I'm/we're generally reluctant when it comes to adding arguably useful features, I don't mind much here, unless fhd has any objections?

Last edited 5 years ago by sebastian (previous) (diff)

comment:5 Changed 5 years ago by kzar

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.