Stay hydrated

commands

#1

I noticed people like hydration bot when it comes to some peoples channels so i figured it might be nice to have an option to have that in phantombot, with customizable water oz sizes, and a command to check the water level instead of only waiting for it to show up. Not sure if anyone else has done this before, but i didn’t see anything when searching. Its not the most elegant code but it works. I would like some feedback on what i can improve in the code if anyone wants to take a look at it.
hydrationSystem.js (1.2 KB)


#2

Realized there is an issue where it tells you at the start of the stream to have 0oz, not a major issue, but I fixed that here:
hydrationSystem.js (1.2 KB)
added a check for uptime being > than 1 hour on line 12