pep8
This commit is contained in:
parent
e55774b770
commit
f61895fdc3
|
@ -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:
|
||||
|
|
|
@ -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,))
|
||||
|
|
|
@ -27,7 +27,7 @@ def tf(inp):
|
|||
except ValueError:
|
||||
return '%s is not a valid profile' % inp
|
||||
|
||||
dropped,dhats,hats = 0,0,0
|
||||
dropped, dhats, hats = 0, 0, 0
|
||||
for item, data in inv.iteritems():
|
||||
ind = int(data['defindex'])
|
||||
if data['inventory'] == 0:
|
||||
|
|
Loading…
Reference in New Issue