From 95f0a3c65db1020160c7a322f0e2f6c7276e14f3 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 9 Apr 2007 21:21:07 +0000 Subject: auth: improve help --- lib/rbot/core/auth.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/rbot') diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index eee50045..45a36131 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -252,7 +252,7 @@ class AuthModule < CoreBotModule when "view" return "permissions view [for ]: display the permissions for user " else - return "topics: syntax, (re)set, view" + return "permission topics: syntax, (re)set, view" end when "user" case topic @@ -275,10 +275,12 @@ class AuthModule < CoreBotModule when "destroy" return "user destroy : destroys ; this function #{Bold}must#{Bold} be called in two steps. On the first call, no password must be specified: is then queued for destruction. On the second call, you must specify the correct password for , and it will be destroyed. If you want to cancel the destruction, issue the command +user cancel destroy +" else - return "user show, enable|disable, add|rm netmask, set, reset, tell, create, list, destroy" + return "user topics: show, enable|disable, add|rm netmask, set, reset, tell, create, list, destroy" end + when "auth" + return "auth : log in as the bot owner; other commands: login, whoami, permission syntax, permissions [re]set, permissions view, user" else - return "#{name}: login, whoami, permission syntax, permissions [re]set, permissions view, user" + return "auth commands: auth, login, whoami, permission[s], user" end end -- cgit v1.2.3