Opened on 02/25/2016 at 07:36:33 PM

Closed on 02/26/2016 at 04:29:47 PM

#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

Attachments (0)

Change History (5)

comment:1 Changed on 02/25/2016 at 07:38:31 PM by kzar

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

comment:2 Changed on 02/25/2016 at 07:39:14 PM by kzar

  • Description modified (diff)

comment:3 Changed on 02/25/2016 at 07:42:57 PM 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 on 02/25/2016 at 07:53:49 PM 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 on 02/25/2016 at 07:55:33 PM by sebastian

comment:5 Changed on 02/26/2016 at 04:29:47 PM by kzar

  • Resolution set to fixed
  • Status changed from reviewing to closed

Add Comment

Modify Ticket

Change Properties
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from kzar.
Note: See TracTickets for help on using tickets.