From a9915e09fe450254321c462a714958785de36b62 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Wed, 9 Aug 2017 12:08:01 -0500 Subject: [PATCH] Kill non-f aliases for fsay/fact Many of these aliases are words that begin sentences. Saying them in wolfchat/deadchat then makes the bot pm random people with stuff. Let's NOT do that, kthx. fact is also a word, so replacing that with fdo. --- src/wolfgame.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 7b70159..5b67242 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -6978,13 +6978,13 @@ def _say(wrapper, rest, cmd, action=False): targ.send(message, privmsg=True) -@command("say", "fsay", flag="s", pm=True) +@command("fsay", flag="s", pm=True) def fsay(var, wrapper, message): """Talk through the bot as a normal message.""" _say(wrapper, message, "say") -@command("act", "do", "me", "fact", "fdo", "fme", flag="s", pm=True) -def fact(var, wrapper, message): +@command("fdo", "fme", flag="s", pm=True) +def fdo(var, wrapper, message): """Act through the bot as an action.""" _say(wrapper, message, "act", action=True)