supybot-wizard: Suggest most useful plugins when the user want to add plugins en masse. Closes GH-84.

This commit is contained in:
Valentin Lorentz 2011-07-16 13:37:56 +02:00
parent 5e9fd8129e
commit 03cc4c7ab7
2 changed files with 4 additions and 2 deletions

View File

@ -504,7 +504,9 @@ def main():
output(format("""The available plugins are: %L.""", plugins)) output(format("""The available plugins are: %L.""", plugins))
output("""What plugins would you like to add? If you've changed your output("""What plugins would you like to add? If you've changed your
mind and would rather not add plugins in bulk like this, just press mind and would rather not add plugins in bulk like this, just press
enter and we'll move on to the individual plugin configuration.""") enter and we'll move on to the individual plugin configuration.
We suggest you to add Alias, Ctcp, Later, Network, Plugin, String,
and Utilities""")
massPlugins = anything('Separate plugin names by spaces or commas:') massPlugins = anything('Separate plugin names by spaces or commas:')
for name in re.split(r',?\s+', massPlugins): for name in re.split(r',?\s+', massPlugins):
module = loadPlugin(name) module = loadPlugin(name)

View File

@ -1,3 +1,3 @@
"""stick the various versioning attributes in here, so we only have to change """stick the various versioning attributes in here, so we only have to change
them once.""" them once."""
version = '0.83.4.1+limnoria (2011-07-14T17:34:26+0200)' version = '0.83.4.1+limnoria (2011-07-16T13:37:56+0200)'