minor changes
This commit is contained in:
parent
b5be0217a4
commit
761a012149
|
@ -55,7 +55,7 @@ def forget(inp, chan='', db=None):
|
|||
db.execute("delete from memory where chan=? and word=lower(?)",
|
||||
(chan, inp))
|
||||
db.commit()
|
||||
return 'forgot that "%s"' % data.replace('"', "''")
|
||||
return 'forgot `%s`' % data.replace('`', "'")
|
||||
else:
|
||||
return "I don't know about that."
|
||||
|
||||
|
|
|
@ -30,4 +30,4 @@ def suggest(inp, inp_unstripped=''):
|
|||
out = suggestions[num - 1]
|
||||
else:
|
||||
out = random.choice(suggestions)
|
||||
return '#%d: %s (%s)' % (int(out[2][0]) + 1, out[0], out[1])
|
||||
return '#%d: %s' % (int(out[2][0]) + 1, out[0])
|
||||
|
|
Loading…
Reference in New Issue