Boldify sed replacement text

This commit is contained in:
jesopo 2019-04-15 21:55:53 +01:00
parent 8ecd1f31c7
commit 884d7ab06a

View file

@ -50,7 +50,7 @@ class Module(ModuleManager.BaseModule):
module_name="Sed", server=event["server"], module_name="Sed", server=event["server"],
message="Invalid regex in pattern") message="Invalid regex in pattern")
return return
replace = sed_split[2].replace("\\/", "/") replace = utils.irc.bold(sed_split[2].replace("\\/", "/"))
for_user = event["user"].nickname if self._closest_setting(event, for_user = event["user"].nickname if self._closest_setting(event,
"sed-sender-only", False) else None "sed-sender-only", False) else None