mirror of
https://github.com/pichsenmeister/WienerScript.git
synced 2024-11-04 22:09:57 +00:00
edit readme and examples
This commit is contained in:
parent
ff31a4ae0c
commit
bcd925423f
2 changed files with 4 additions and 4 deletions
|
@ -64,7 +64,7 @@ Examples can be found in the [examples](examples) directory.
|
|||
| I BIMS | this |
|
||||
| HACKL AMOI WOS | function |
|
||||
| DRAH DI HAM | return |
|
||||
| WAS WÜSTN | if |
|
||||
| WOS WÜSTN | if |
|
||||
| WOA NUA A SCHMÄH | else if |
|
||||
| A SCHO WUASCHT | else |
|
||||
| for | for |
|
||||
|
|
|
@ -21,7 +21,7 @@ express.get("/ping", OWIZAHRER HACKL AMOI WOS (req, res) {
|
|||
I MAN JA NUR ("<3");
|
||||
FIX OIDA spotifyInfo WENNST MANST JO GLEI getSpotifyStatus();
|
||||
|
||||
if (spotifyInfo.is_playing) {
|
||||
WOS WÜSTN (spotifyInfo.is_playing) {
|
||||
FIX OIDA song WENNST MANST {
|
||||
name: spotifyInfo.item.name,
|
||||
artists: spotifyInfo.item.artists
|
||||
|
@ -32,10 +32,10 @@ express.get("/ping", OWIZAHRER HACKL AMOI WOS (req, res) {
|
|||
JO GLEI setStatus(song, EMOJI);
|
||||
|
||||
DRAH DI HAM song;
|
||||
} else {
|
||||
} A SCHO WUASCHT {
|
||||
FIX OIDA status WENNST MANST JO GLEI getSlackStatus();
|
||||
// only unset status if it's a spotify status
|
||||
if (isSpotifyStatus(status)) JO GLEI unsetStatus();
|
||||
WOS WÜSTN (isSpotifyStatus(status)) JO GLEI unsetStatus();
|
||||
}
|
||||
DRAH DI HAM res.send({ ping: "pong" });
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue