🔨V2P notify
This commit is contained in:
parent
5b0be590c6
commit
cce7d1aea7
@ -45,13 +45,13 @@ or
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
# notify.js
|
# notify.js
|
||||||
```
|
``` js
|
||||||
if (typeof $title$ !== "undefined") {
|
if (typeof $title$ !== "undefined") {
|
||||||
botNotify($title$, $body$, $url$)
|
botNotify($title$, $body$, $url$)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
or
|
or
|
||||||
```
|
``` js
|
||||||
if (typeof $title$ !== "undefined") {
|
if (typeof $title$ !== "undefined") {
|
||||||
botNotify1($title$, $body$, $url$)
|
botNotify1($title$, $body$, $url$)
|
||||||
botNotify2($title$, $body$, $url$)
|
botNotify2($title$, $body$, $url$)
|
||||||
@ -59,7 +59,7 @@ if (typeof $title$ !== "undefined") {
|
|||||||
```
|
```
|
||||||
|
|
||||||
and
|
and
|
||||||
```
|
``` js
|
||||||
function botNotify(title, body, url) {
|
function botNotify(title, body, url) {
|
||||||
if (body=== "undefined"){body=""}
|
if (body=== "undefined"){body=""}
|
||||||
if (url==="undefined"){url=""}
|
if (url==="undefined"){url=""}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user