This commit is contained in:
Ryan Hitchman 2010-04-22 21:50:56 -06:00
parent e55774b770
commit f61895fdc3
5 changed files with 14 additions and 15 deletions

View File

@ -25,11 +25,10 @@ def bible(inp):
return text
## Koran look-up plugin by Ghetto Wizard
@hook.command('allah')
@hook.command
def koran(inp):
def koran(inp): # Koran look-up plugin by Ghetto Wizard
".koran <chapter.verse> -- gets <chapter.verse> from the Koran"
if not inp:

View File

@ -61,8 +61,8 @@ def showtells(inp, nick='', chan='', notice=None, db=None):
for tell in tells:
user_from, message, time, chan = tell
reltime = timesince.timesince(time)
notice("%s said %s ago in %s: %s" % (user_from, reltime, chan, message))
past = timesince.timesince(time)
notice("%s said %s ago in %s: %s" % (user_from, past, chan, message))
db.execute("delete from tell where user_to=lower(?)",
(nick,))