Skip to content

Commit

Permalink
Updated the help message.
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzaQ committed May 1, 2014
1 parent 57ba067 commit a1ef085
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion mafia.rb
Expand Up @@ -793,7 +793,22 @@ def initialize
end

def help(plugin, topic="")
"MafiaPlugin"
case topic
when 'commands'
[
'day (all): vote <nick> to vote to kill <nick>',
'night (healer): protect <nick> to protect <nick>',
'night (mafia): kill <nick> to vote to kill <nick>',
'night (detective): check <nick> to check <nick>',
'day commands need to me said in the channel',
'night commands need to be PM-ed to the bot'
].join('; ')
else
'Mafia game. !mafia, !weregame and !voldemort to start the game ' +
'for mafia/weregame/voldemort, respectively (same rules, different texts). ' +
'!mafia force start to avoid waiting for more players. ' +
'Other help topics: commands'
end
end

def message(m)
Expand Down

0 comments on commit a1ef085

Please sign in to comment.