Cleaned the message from pings.
This commit is contained in:
parent
1aba2be026
commit
36931aadd9
2
app.js
2
app.js
|
@ -28,7 +28,7 @@ setInterval(function() {
|
||||||
const json = JSON.parse(body);
|
const json = JSON.parse(body);
|
||||||
if (currentStatus !== json.state.open) {
|
if (currentStatus !== json.state.open) {
|
||||||
currentStatus = json.state.open;
|
currentStatus = json.state.open;
|
||||||
hook.send(`<@286015596875874305> ChCh ist jetzt ${currentStatusRead(currentStatus)}`);
|
hook.send(`ChCh ist jetzt ${currentStatusRead(currentStatus)}`);
|
||||||
console.log(json.state.open);
|
console.log(json.state.open);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue