Skip to content

lboright/minion-standup-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Minion, run our daily standup.

Make minion run daily standups.

Installation

Clone this into a directory named Standup in your minion's plugins subdirectory.

Configuration

Put something like the following in your minion's config.php.

$this->PluginConfig['Standup'] = array(
        'Time' => '10:00',
        'Channels' => array(
            '#minion.php'
        ),
        'SkipDays' => array(
            'Saturday',
            'Sunday'
        ),
        'SkipUsers' => array(
            'minion'
        ),
        'UserWait' => 90,
        'StandupWait' => 150,
        'MaxRetry' => 2
);

What it does

  • Starts Standup at a specific time on every day not in SkipDays with an announcement.
  • Grabs a list of all users in the channel and calls on random users to do standup. If a user quits or joins the server, the list is updated accordingly.
  • If a user says 'B:' or 'Blocks:' or similar, ending their standup, minion will choose a new person from the list.
  • If username is supposed to be doing their standup and another user says "username isn't here" or similar, minion immediately moves them to the end of the list and continues.
  • If StandupWait seconds elapses without anyone responding, minion will cancel standup.
  • If UserWait seconds elapses without username responding, minion will add them to the end of the list and continue.
  • If Minion has tried calling a user more than MaxRetry, it will remove that user from standup
  • Minion recognizes both usernames and nicknames.

Usage

Standup will run automatically at the specified Time. There are some commands to modify this behavior:

  • !standup forces minion to start standup
  • !sitdown forces minion to end standup

About

Minion, run our standups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%