mirror of
https://github.com/pichsenmeister/WienerScript.git
synced 2025-03-10 07:39:05 +01: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 |
|
| I BIMS | this |
|
||||||
| HACKL AMOI WOS | function |
|
| HACKL AMOI WOS | function |
|
||||||
| DRAH DI HAM | return |
|
| DRAH DI HAM | return |
|
||||||
| WAS WÜSTN | if |
|
| WOS WÜSTN | if |
|
||||||
| WOA NUA A SCHMÄH | else if |
|
| WOA NUA A SCHMÄH | else if |
|
||||||
| A SCHO WUASCHT | else |
|
| A SCHO WUASCHT | else |
|
||||||
| for | for |
|
| for | for |
|
||||||
|
|
|
@ -21,7 +21,7 @@ express.get("/ping", OWIZAHRER HACKL AMOI WOS (req, res) {
|
||||||
I MAN JA NUR ("<3");
|
I MAN JA NUR ("<3");
|
||||||
FIX OIDA spotifyInfo WENNST MANST JO GLEI getSpotifyStatus();
|
FIX OIDA spotifyInfo WENNST MANST JO GLEI getSpotifyStatus();
|
||||||
|
|
||||||
if (spotifyInfo.is_playing) {
|
WOS WÜSTN (spotifyInfo.is_playing) {
|
||||||
FIX OIDA song WENNST MANST {
|
FIX OIDA song WENNST MANST {
|
||||||
name: spotifyInfo.item.name,
|
name: spotifyInfo.item.name,
|
||||||
artists: spotifyInfo.item.artists
|
artists: spotifyInfo.item.artists
|
||||||
|
@ -32,10 +32,10 @@ express.get("/ping", OWIZAHRER HACKL AMOI WOS (req, res) {
|
||||||
JO GLEI setStatus(song, EMOJI);
|
JO GLEI setStatus(song, EMOJI);
|
||||||
|
|
||||||
DRAH DI HAM song;
|
DRAH DI HAM song;
|
||||||
} else {
|
} A SCHO WUASCHT {
|
||||||
FIX OIDA status WENNST MANST JO GLEI getSlackStatus();
|
FIX OIDA status WENNST MANST JO GLEI getSlackStatus();
|
||||||
// only unset status if it's a spotify status
|
// 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" });
|
DRAH DI HAM res.send({ ping: "pong" });
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue