From 382728e83ecad80085c61255422fd123d2cade2e Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 12 Oct 2018 08:38:29 +0100 Subject: [PATCH] Add ` and * to characters stripped from start/end or words in modules/words.py --- modules/words.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/words.py b/modules/words.py index 8982326c..b7e3e45c 100644 --- a/modules/words.py +++ b/modules/words.py @@ -1,8 +1,9 @@ import time from src import EventManager, ModuleManager, utils -WORD_START = "\"“'({<…" -WORD_STOP = "\"”')}>;:.,!?~…" +WORD_DELIM = "\"'…~*`" +WORD_START = WORD_DELIM+"“({<" +WORD_STOP = WORD_DELIM+"”)}>;:.,!?" class Module(ModuleManager.BaseModule): def _channel_message(self, user, event):