fix regex typo
This commit is contained in:
parent
a89b558395
commit
20fdb82b2d
|
@ -62,7 +62,7 @@ def forget(inp, chan='', db=None):
|
||||||
return "I don't know about that."
|
return "I don't know about that."
|
||||||
|
|
||||||
|
|
||||||
@hook.regex(r'\?(.+)')
|
@hook.regex(r'^\?(.+)')
|
||||||
def question(inp, chan='', say=None, db=None):
|
def question(inp, chan='', say=None, db=None):
|
||||||
"?<word> -- shows what data is associated with word"
|
"?<word> -- shows what data is associated with word"
|
||||||
db_init(db)
|
db_init(db)
|
||||||
|
|
Loading…
Reference in New Issue