Add ` and * to characters stripped from start/end or words in modules/words.py

This commit is contained in:
jesopo 2018-10-12 08:38:29 +01:00
parent e6a55b2b22
commit 382728e83e

View file

@ -1,8 +1,9 @@
import time import time
from src import EventManager, ModuleManager, utils from src import EventManager, ModuleManager, utils
WORD_START = "\"'({<…" WORD_DELIM = "\"'…~*`"
WORD_STOP = "\"')}>;:.,!?~…" WORD_START = WORD_DELIM+"“({<"
WORD_STOP = WORD_DELIM+"”)}>;:.,!?"
class Module(ModuleManager.BaseModule): class Module(ModuleManager.BaseModule):
def _channel_message(self, user, event): def _channel_message(self, user, event):