pep8
This commit is contained in:
parent
e55774b770
commit
f61895fdc3
|
@ -25,11 +25,10 @@ def bible(inp):
|
||||||
|
|
||||||
return text
|
return text
|
||||||
|
|
||||||
## Koran look-up plugin by Ghetto Wizard
|
|
||||||
|
|
||||||
@hook.command('allah')
|
@hook.command('allah')
|
||||||
@hook.command
|
@hook.command
|
||||||
def koran(inp):
|
def koran(inp): # Koran look-up plugin by Ghetto Wizard
|
||||||
".koran <chapter.verse> -- gets <chapter.verse> from the Koran"
|
".koran <chapter.verse> -- gets <chapter.verse> from the Koran"
|
||||||
|
|
||||||
if not inp:
|
if not inp:
|
||||||
|
|
|
@ -61,8 +61,8 @@ def showtells(inp, nick='', chan='', notice=None, db=None):
|
||||||
|
|
||||||
for tell in tells:
|
for tell in tells:
|
||||||
user_from, message, time, chan = tell
|
user_from, message, time, chan = tell
|
||||||
reltime = timesince.timesince(time)
|
past = timesince.timesince(time)
|
||||||
notice("%s said %s ago in %s: %s" % (user_from, reltime, chan, message))
|
notice("%s said %s ago in %s: %s" % (user_from, past, chan, message))
|
||||||
|
|
||||||
db.execute("delete from tell where user_to=lower(?)",
|
db.execute("delete from tell where user_to=lower(?)",
|
||||||
(nick,))
|
(nick,))
|
||||||
|
|
Loading…
Reference in New Issue