PackageInfo: Add 'releases' command to list all valid releases.

* Instead no longer include those in error message on invalid releases.
* But add setting to send list of valid releases in private on error.
* Minor fixes to Encyclopedia along the way.
* Update default configuration.
This commit is contained in:
Krytarik Raido
2021-06-13 00:23:04 +02:00
parent b4c25ad7e2
commit 987b3c91fa
8 changed files with 37 additions and 28 deletions

View File

@ -24,7 +24,7 @@ import supybot
import supybot.world as world
from importlib import reload
__version__ = "3.5.1"
__version__ = "3.5.2"
__author__ = supybot.Author("Krytarik Raido", "krytarik", "krytarik@gmail.com")
__contributors__ = {
supybot.Author("Dennis Kaarsemaker", "Seveas", "dennis@kaarsemaker.net"): ['Original Author'],

View File

@ -204,7 +204,7 @@ class Encyclopedia(callbacks.Plugin):
remove = wrap(remove, ['otherUser'])
def editors(self, irc, msg, args):
"""Takes no arguments
"""takes no arguments
Lists all the users who are in the list of editors.
"""
@ -212,7 +212,7 @@ class Encyclopedia(callbacks.Plugin):
editors = wrap(editors)
def moderators(self, irc, msg, args):
"""Takes no arguments
"""takes no arguments
Lists all the users who can add users to the list of editors.
"""

View File

@ -107,6 +107,3 @@ class EncyclopediaTestCase(ChannelPluginTestCase):
'In test, user said: test-#ubuntu-se is <reply> blah')
finally:
world.testing = True
# vim:set shiftwidth=4 softtabstop=4 tabstop=4 expandtab textwidth=100: