mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Changed num to stats.
This commit is contained in:
parent
9f2013d8f0
commit
eb217d82ae
@ -237,7 +237,7 @@ class FunDB(callbacks.Privmsg, configurable.Mixin, plugins.ChannelDBHandler):
|
||||
db.commit()
|
||||
irc.replySuccess()
|
||||
|
||||
def num(self, irc, msg, args):
|
||||
def stats(self, irc, msg, args):
|
||||
"""[<channel>] <lart|excuse|insult|praise>
|
||||
|
||||
Returns the number of records, of the type specified, currently in
|
||||
|
@ -96,7 +96,7 @@ class Quotes(plugins.ChannelDBHandler, callbacks.Privmsg):
|
||||
quoteid = cursor.fetchone()[0]
|
||||
irc.replySuccess('(Quote #%s added)' % quoteid)
|
||||
|
||||
def num(self, irc, msg, args):
|
||||
def stats(self, irc, msg, args):
|
||||
"""[<channel>]
|
||||
|
||||
Returns the numbers of quotes in the quote database for <channel>.
|
||||
|
@ -308,7 +308,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp,
|
||||
irc.errorPossibleBug(s)
|
||||
tiny = privmsgs.thread(tiny)
|
||||
|
||||
def num(self, irc, msg, args):
|
||||
def stats(self, irc, msg, args):
|
||||
"""[<channel>]
|
||||
|
||||
Returns the number of URLs in the URL database. <channel> is only
|
||||
|
Loading…
Reference in New Issue
Block a user