From 436f7f691a2e3815e7514dd78d23f957864eee55 Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Sat, 26 Nov 2011 04:38:03 +1300 Subject: [PATCH] Added .- and .+ aliases --- plugins/factoids.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/factoids.py b/plugins/factoids.py index dbac012..8ad2ed0 100644 --- a/plugins/factoids.py +++ b/plugins/factoids.py @@ -21,7 +21,7 @@ def get_memory(db, word): return None - +@hook.command("+") @hook.command("r") def remember(inp, nick='', db=None, say=None, input=None, notice=None): ".r [+] -- 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!') return - +@hook.command("-") @hook.command("f") def forget(inp, db=None): ".f -- forgets the mapping that word had"