stellarhopper/pug.nahl-pingus-bot — pull request #6 by Faek (2013-10-01 06:27:51+00:00)
Title: new features for captains for picking and can specify a reason for restricions

New Features rundown:

1. !list-classes no longer triggers the !list command as well

2. Mumble information is provided in the PM you get when a pug is starting

3. as an optional argument for !restrict and !crestrict eg: !restrict Dad 3d for not showing up to the pug

4. as an optional param for !restrictions to list the time remaining on a players restrict and/or crestrict.
eg: !restrictions Dad Dad is restricted from playing for 2 days 23 hrs 59 mins 30 secs. Reason: Disrespectful language Dad has been restricted from being a captain for 2 days. Reason: not picking 0 game players

5. If you are restricted or crestricted, when you try to !add the bot will display the time remaining in your ban and the reason (if a reason was provided)
eg: -TF2Pug-Dad-Test- You are restricted from playing in this channel for 2 days 23 hrs 59 mins 6 secs. Reason: Disrespectful language

6. Using a new setting, you can enable or disable highlighting of 0 game players for the captains during the picking process (so captains in #tf2.mix.nahl have no excuse for not picking new players)

7. Now, when you add up as multiple classes, your name will appear bold for your most preferred available class for the captains.
eg: !add soldier scout heavy - when captains are picking, they will see your name as bold in the soldier category, unless there are no soldier spots available to pick, then they will see your name as bold in the scout list, and so on.

8. !classes command, to display someone's class preferences in the order they added up as. eg: !classes Dad Dad's class preference: heavy, scout, soldier. Captains can use this if you don't want to pick someone as their most preferred class, but maybe their 2nd most preferred. It may also be useful to list what classes a user is added up as for reference.