diff options
author | Matthias Hecker <36882671+mattzque@users.noreply.github.com> | 2020-03-27 20:58:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-27 20:58:27 +0100 |
commit | b6db18c5467c1a161e3fcc39d82ad1b38e213c87 (patch) | |
tree | d14a83493271efdbcd75c499e4ceeee200da3ab0 /lib/rbot/messagemapper.rb | |
parent | 1ebaeb69079f8c6b07423201ce83f996ecff7b01 (diff) | |
parent | bc7efe2d4b360da0276287e6cc7f6a401609c162 (diff) |
Merge pull request #4 from ahpook/rename_karma
Rename and improve karma plugin
Diffstat (limited to 'lib/rbot/messagemapper.rb')
-rw-r--r-- | lib/rbot/messagemapper.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rbot/messagemapper.rb b/lib/rbot/messagemapper.rb index 3e877626..3966bc17 100644 --- a/lib/rbot/messagemapper.rb +++ b/lib/rbot/messagemapper.rb @@ -199,12 +199,12 @@ class Bot # # Further examples: # - # # match 'karmastats' and call my stats() method - # plugin.map 'karmastats', :action => 'stats' - # # match 'karma' with an optional 'key' and call my karma() method - # plugin.map 'karma :key', :defaults => {:key => false} - # # match 'karma for something' and call my karma() method - # plugin.map 'karma for :key' + # # match 'pointstats' and call my stats() method + # plugin.map 'pointstats', :action => 'stats' + # # match 'points' with an optional 'key' and call my points() method + # plugin.map 'points :key', :defaults => {:key => false} + # # match 'points for something' and call my points() method + # plugin.map 'points for :key' # # # two matches, one for public messages in a channel, one for # # private messages which therefore require a channel argument |