added .r and .f aliases for remember and forget
This commit is contained in:
parent
543ff44995
commit
982a745a1a
|
@ -21,6 +21,7 @@ def get_memory(db, chan, word):
|
|||
|
||||
|
||||
@hook.command
|
||||
@hook.command("r")
|
||||
def remember(inp, nick='', chan='', db=None):
|
||||
".remember <word> [+]<data> -- maps word to data in the memory"
|
||||
db_init(db)
|
||||
|
@ -56,6 +57,7 @@ def remember(inp, nick='', chan='', db=None):
|
|||
|
||||
|
||||
@hook.command
|
||||
@hook.command("f")
|
||||
def forget(inp, chan='', db=None):
|
||||
".forget <word> -- forgets the mapping that word had"
|
||||
|
||||
|
|
Loading…
Reference in New Issue