mirror of https://github.com/SeanOMik/znc-push.git
Add title to the text itself and make it bold
This commit is contained in:
parent
3512238b09
commit
b0db56e0f0
2
push.cpp
2
push.cpp
|
@ -614,7 +614,7 @@ class CPushMod : public CModule
|
|||
params["username"] = options["username"];
|
||||
}
|
||||
|
||||
params["payload"] = expand("{\"channel\": \"{target}\", \"pretext\": \"{title}\", \"text\": \"{message}\"}", replace);
|
||||
params["payload"] = expand("{\"channel\": \"{target}\", \"text\": \"*{title}*: {message}\"}", replace);
|
||||
|
||||
PutDebug("payload: " + params["payload"]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue