diff options
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/remind.rb | 9 | ||||
-rw-r--r-- | data/rbot/plugins/roulette.rb | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/data/rbot/plugins/remind.rb b/data/rbot/plugins/remind.rb index 8cc263b8..0c0841f6 100644 --- a/data/rbot/plugins/remind.rb +++ b/data/rbot/plugins/remind.rb @@ -215,10 +215,13 @@ class RemindPlugin < Plugin end end plugin = RemindPlugin.new + +plugin.default_auth('other', false) + plugin.map 'remind me no more', :action => 'no_more' plugin.map 'remind me no more [about] *string', :action => 'no_more' plugin.map 'remind me [about] *string' -plugin.map 'remind :who no more', :auth => 'remind_other', :action => 'no_more' -plugin.map 'remind :who no more [about] *string', :auth => 'remind_other', :action => 'no_more' -plugin.map 'remind :who [about] *string', :auth => 'remind_other' +plugin.map 'remind :who no more', :auth_path => 'other', :action => 'no_more' +plugin.map 'remind :who no more [about] *string', :auth_path => 'other', :action => 'no_more' +plugin.map 'remind :who [about] *string', :auth_path => 'other' diff --git a/data/rbot/plugins/roulette.rb b/data/rbot/plugins/roulette.rb index 8c0045e5..9fce8d8a 100644 --- a/data/rbot/plugins/roulette.rb +++ b/data/rbot/plugins/roulette.rb @@ -207,10 +207,13 @@ class RoulettePlugin < Plugin end plugin = RoulettePlugin.new + +plugin.default_auth('clearstats', false) + plugin.map 'roulette reload', :action => 'reload' plugin.map 'roulette spin', :action => 'spin' plugin.map 'roulette stats :player', :action => 'playerstats' plugin.map 'roulette stats', :action => 'stats' -plugin.map 'roulette clearstats', :action => 'clearstats', :auth => 'config' +plugin.map 'roulette clearstats', :action => 'clearstats' plugin.map 'roulette' |