Created
July 17, 2020 16:03
-
-
Save fabsenet/967cbad1a3b4610eac5cd4ccb6d47dba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// function node auf 2 Ausgänge konfigurieren! | |
const hour = new Date().getHours(); | |
if(hour >= 22 || hour <= 6){ | |
//nachts | |
return [msg, null]; | |
} | |
else{ | |
//tags | |
return [null, msg]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment