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
add !pomotimer -ul=moderator -cd=5 $(eval String.raw`if($(eval `$`+`(3)`)='am'){h=$(eval `$`+`(1)`)}else{h=$(eval `$`+`(1)`)+12};m=(Math.ceil($(eval `$`+`(2)`)/5)*5);h*60+m-`)$(eval if($(time UTC "a")='am'){h=$(time UTC "HH")}else{h=$(time UTC "HH")+12};m=(Math.ceil($(time UTC "mm")/5)*5);a=h*60+m) |
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
{ | |
"0": "🍅 BEEP BEEP Great work! Time for a quick break. Take 5 minutes to chat, stretch, hydrate, and refocus your intention.", | |
"5": "🍅 5", | |
"10": "🍅 10", | |
"15": "🍅 15", | |
"20": "🍅 20", | |
"25": "🍅 25", | |
} |
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
$(eval ($(urlfetch json https://gist.githubusercontent.com/LeslieDanill/276ef1cf185b368cd23e92bdbd2cdc72/raw/Nightbot-pomotimer-msgs.json))["$(eval (Math.floor(($(time UTC "X")-$(1))/60/5)*5)%30)"]) |
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
{ | |
"id" : ["AaronBassettDev", | |
"AlSweigart", | |
"AnnaLemontea", | |
"anthonywritescode", | |
"cmgriffing", | |
"CannibalSnacks", | |
"CodeInPublic", | |
"coollike", | |
"crutchcorn", |