Added .- and .+ aliases
This commit is contained in:
parent
c50ed3aaee
commit
436f7f691a
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ def get_memory(db, word):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
@hook.command("+")
|
||||||
@hook.command("r")
|
@hook.command("r")
|
||||||
def remember(inp, nick='', db=None, say=None, input=None, notice=None):
|
def remember(inp, nick='', db=None, say=None, input=None, notice=None):
|
||||||
".r <word> [+]<data> -- maps word to data in the memory"
|
".r <word> [+]<data> -- maps word to data in the memory"
|
||||||
|
@ -66,7 +66,7 @@ def remember(inp, nick='', db=None, say=None, input=None, notice=None):
|
||||||
notice('Remembered!')
|
notice('Remembered!')
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@hook.command("-")
|
||||||
@hook.command("f")
|
@hook.command("f")
|
||||||
def forget(inp, db=None):
|
def forget(inp, db=None):
|
||||||
".f <word> -- forgets the mapping that word had"
|
".f <word> -- forgets the mapping that word had"
|
||||||
|
|
Reference in a new issue