Updated descriptions of how to re-enable commands.

This commit is contained in:
Jeremy Fincher 2004-02-09 18:36:39 +00:00
parent 5969fbf990
commit b63fc24865
2 changed files with 7 additions and 8 deletions

View File

@ -65,7 +65,7 @@ def configure(advanced):
output("""I can't find zgrep in your path. This is necessary output("""I can't find zgrep in your path. This is necessary
to run the file command. I'll disable this command to run the file command. I'll disable this command
now. When you get zgrep in your path, use the 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') conf.supybot.defaultCapabilities().add('-Debian.file')
else: else:
output("""I can't find zgrep in your path. If you want to run output("""I can't find zgrep in your path. If you want to run

View File

@ -64,23 +64,22 @@ def configure(advanced):
if not spellCmd: if not spellCmd:
output("""NOTE: I couldn't find aspell or ispell in your path, so that 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 function of this module will not work. You may choose to
install it later. To re-enable this command then, remove install it later. The re-enable the command then, give the
the "disable spell" line from your configuration file.""") bot the command 'enable Unix.spell'.""")
conf.supybot.defaultCapabilities().add('-Unix.spell') conf.supybot.defaultCapabilities().add('-Unix.spell')
fortuneCmd = utils.findBinaryInPath('fortune') fortuneCmd = utils.findBinaryInPath('fortune')
if not fortuneCmd: if not fortuneCmd:
output("""NOTE: I couldn't find fortune in your path, so that function 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 of this module will not work. You may choose to install it
later. To re-enable this command then, remove the later. To re-enable this command then, give the bot the
'"disable fortune" command from your configuration file.""") command 'enable Unix.fortune'.""")
conf.supybot.defaultCapabilities().add('-Unix.fortune') conf.supybot.defaultCapabilities().add('-Unix.fortune')
wtfCmd = utils.findBinaryInPath('wtf') wtfCmd = utils.findBinaryInPath('wtf')
if not wtfCmd: if not wtfCmd:
output("""NOTE: I couldn't find wtf in your path, so that function of 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; this module won't work. You may choose to install it later;
to re-enable this command then, remove the "disable wtf" to re-enable this command then, give the bot the command
command from your configuration file or simply tell the bot 'enable Unix.wtf'.""")
"enable wtf" instead.""")
conf.supybot.defaultCapabilities().add('-Unix.wtf') conf.supybot.defaultCapabilities().add('-Unix.wtf')
output("""The "progstats" command can reveal potentially sensitive output("""The "progstats" command can reveal potentially sensitive
information about your machine. Here's an example of its output: information about your machine. Here's an example of its output: