mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19: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()
|
db.commit()
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
|
|
||||||
def num(self, irc, msg, args):
|
def stats(self, irc, msg, args):
|
||||||
"""[<channel>] <lart|excuse|insult|praise>
|
"""[<channel>] <lart|excuse|insult|praise>
|
||||||
|
|
||||||
Returns the number of records, of the type specified, currently in
|
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]
|
quoteid = cursor.fetchone()[0]
|
||||||
irc.replySuccess('(Quote #%s added)' % quoteid)
|
irc.replySuccess('(Quote #%s added)' % quoteid)
|
||||||
|
|
||||||
def num(self, irc, msg, args):
|
def stats(self, irc, msg, args):
|
||||||
"""[<channel>]
|
"""[<channel>]
|
||||||
|
|
||||||
Returns the numbers of quotes in the quote database for <channel>.
|
Returns the numbers of quotes in the quote database for <channel>.
|
||||||
|
@ -308,7 +308,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp,
|
|||||||
irc.errorPossibleBug(s)
|
irc.errorPossibleBug(s)
|
||||||
tiny = privmsgs.thread(tiny)
|
tiny = privmsgs.thread(tiny)
|
||||||
|
|
||||||
def num(self, irc, msg, args):
|
def stats(self, irc, msg, args):
|
||||||
"""[<channel>]
|
"""[<channel>]
|
||||||
|
|
||||||
Returns the number of URLs in the URL database. <channel> is only
|
Returns the number of URLs in the URL database. <channel> is only
|
||||||
|
Loading…
Reference in New Issue
Block a user