mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Normalized our 'take no arguments' strings.
This commit is contained in:
parent
f4d6bac09e
commit
17ca364350
@ -74,7 +74,7 @@ conf.registerChannelValue(conf.supybot.plugins.Dict, 'default',
|
|||||||
class Dict(callbacks.Privmsg):
|
class Dict(callbacks.Privmsg):
|
||||||
threaded = True
|
threaded = True
|
||||||
def dictionaries(self, irc, msg, args):
|
def dictionaries(self, irc, msg, args):
|
||||||
"""takes no arguments.
|
"""takes no arguments
|
||||||
|
|
||||||
Returns the dictionaries valid for the dict command.
|
Returns the dictionaries valid for the dict command.
|
||||||
"""
|
"""
|
||||||
@ -88,7 +88,7 @@ class Dict(callbacks.Privmsg):
|
|||||||
irc.error(webutils.strError(e))
|
irc.error(webutils.strError(e))
|
||||||
|
|
||||||
def random(self, irc, msg, args):
|
def random(self, irc, msg, args):
|
||||||
"""takes no arguments.
|
"""takes no arguments
|
||||||
|
|
||||||
Returns a random valid dictionary.
|
Returns a random valid dictionary.
|
||||||
"""
|
"""
|
||||||
|
@ -260,7 +260,7 @@ class Fun(callbacks.Privmsg):
|
|||||||
irc.error('Dice must be of the form <dice>d<sides>')
|
irc.error('Dice must be of the form <dice>d<sides>')
|
||||||
|
|
||||||
def objects(self, irc, msg, args):
|
def objects(self, irc, msg, args):
|
||||||
"""takes no arguments.
|
"""takes no arguments
|
||||||
|
|
||||||
Returns the number and types of Python objects in memory.
|
Returns the number and types of Python objects in memory.
|
||||||
"""
|
"""
|
||||||
|
@ -191,7 +191,7 @@ class MoobotFactoids(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
db.commit()
|
db.commit()
|
||||||
|
|
||||||
def randomfactoid(self, irc, msg, args):
|
def randomfactoid(self, irc, msg, args):
|
||||||
"""<takes no arguments>
|
"""takes no arguments
|
||||||
|
|
||||||
Displays a random factoid (along with its key) from the database.
|
Displays a random factoid (along with its key) from the database.
|
||||||
"""
|
"""
|
||||||
@ -668,7 +668,7 @@ class MoobotFactoids(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
|
|
||||||
def randomfactoid(self, irc, msg, args):
|
def randomfactoid(self, irc, msg, args):
|
||||||
"""<takes no arguments>
|
"""takes no arguments
|
||||||
|
|
||||||
Displays a random factoid (along with its key) from the database.
|
Displays a random factoid (along with its key) from the database.
|
||||||
"""
|
"""
|
||||||
|
@ -139,7 +139,7 @@ class Scheduler(callbacks.Privmsg):
|
|||||||
# irc.replySuccess()
|
# irc.replySuccess()
|
||||||
|
|
||||||
def list(self, irc, msg, args):
|
def list(self, irc, msg, args):
|
||||||
"""takes no arguments.
|
"""takes no arguments
|
||||||
|
|
||||||
Lists the currently scheduled events.
|
Lists the currently scheduled events.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user