From 982a745a1a0111fdcadd2f26e6b546710b99baad Mon Sep 17 00:00:00 2001 From: lahwran Date: Thu, 9 Jun 2011 21:51:25 -0600 Subject: [PATCH] added .r and .f aliases for remember and forget --- plugins/remember.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/remember.py b/plugins/remember.py index 7d034f2..8aa1fef 100644 --- a/plugins/remember.py +++ b/plugins/remember.py @@ -21,6 +21,7 @@ def get_memory(db, chan, word): @hook.command +@hook.command("r") def remember(inp, nick='', chan='', db=None): ".remember [+] -- 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 -- forgets the mapping that word had"