From b63fc248655c3d1b3a22f8d37c039bbfacbaa8b6 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 9 Feb 2004 18:36:39 +0000 Subject: [PATCH] Updated descriptions of how to re-enable commands. --- plugins/Debian.py | 2 +- plugins/Unix.py | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/plugins/Debian.py b/plugins/Debian.py index e3129b901..c48d569b7 100644 --- a/plugins/Debian.py +++ b/plugins/Debian.py @@ -65,7 +65,7 @@ def configure(advanced): output("""I can't find zgrep in your path. This is necessary to run the file command. I'll disable this command now. When you get zgrep in your path, use the command - "enable file" to re-enable the command.""") + 'enable Debian.file' to re-enable the command.""") conf.supybot.defaultCapabilities().add('-Debian.file') else: output("""I can't find zgrep in your path. If you want to run diff --git a/plugins/Unix.py b/plugins/Unix.py index 742d72c85..6ae787657 100644 --- a/plugins/Unix.py +++ b/plugins/Unix.py @@ -64,23 +64,22 @@ def configure(advanced): if not spellCmd: output("""NOTE: I couldn't find aspell or ispell in your path, so that function of this module will not work. You may choose to - install it later. To re-enable this command then, remove - the "disable spell" line from your configuration file.""") + install it later. The re-enable the command then, give the + bot the command 'enable Unix.spell'.""") conf.supybot.defaultCapabilities().add('-Unix.spell') fortuneCmd = utils.findBinaryInPath('fortune') if not fortuneCmd: output("""NOTE: I couldn't find fortune in your path, so that function of this module will not work. You may choose to install it - later. To re-enable this command then, remove the - '"disable fortune" command from your configuration file.""") + later. To re-enable this command then, give the bot the + command 'enable Unix.fortune'.""") conf.supybot.defaultCapabilities().add('-Unix.fortune') wtfCmd = utils.findBinaryInPath('wtf') if not wtfCmd: output("""NOTE: I couldn't find wtf in your path, so that function of this module won't work. You may choose to install it later; - to re-enable this command then, remove the "disable wtf" - command from your configuration file or simply tell the bot - "enable wtf" instead.""") + to re-enable this command then, give the bot the command + 'enable Unix.wtf'.""") conf.supybot.defaultCapabilities().add('-Unix.wtf') output("""The "progstats" command can reveal potentially sensitive information about your machine. Here's an example of its output: