pingtree

Private

Content

16 lines
{=(time):{strf:%-H}}
{=(COMMENT): Put the userID's of the people to be pinged here, in the format <@userID>, delimited by a comma (without a space after it).}
{=(gardeners):<@756175621587206224>,<@716390085896962058>}
{=(COMMENT): Put the wake-up times (or times when they start getting online) here. If Bob wakes up at 4, and goes to bed at 20, while Jim wakes up at 7, and goes to bed at 23, you'd put 4,7. Again, these are comma delimited. Only whole numbers please, and this only works with hours, so if you get online at 5:30, just put 5 or 6. These go in UTC. Remember, in UTC!!!!!!! Finally, make sure these are on a 24-hour clock.}
{=(wakeuptime):7,1}
{=(COMMENT): Same thing as the wake-up times, but for bedtimes, or inactivity times.}
{=(bedtime):23,18}
{=(COMMENT): Duplicate the second line of script and change the numbers to follow the pattern below, if more users are needed.}
{=(pings):{and({time}>={list(0):{wakeuptime}}|{time}<={list(0):{bedtime}}):{list(0):{gardeners}}}}
{=(pings):{pings} {and({time}>={list(1):{wakeuptime}}|{time}<={list(1):{bedtime}}):{list(1):{gardeners}}}}
{=(pings):{pings} {and({time}>={list(2):{wakeuptime}}|{time}<={list(2):{bedtime}}):{list(2):{gardeners}}}}
{=(pings):{pings} {and({time}>={list(3):{wakeuptime}}|{time}<={list(3):{bedtime}}):{list(3):{gardeners}}}}
{=(pings):{pings} {and({time}>={list(4):{wakeuptime}}|{time}<={list(4):{bedtime}}):{list(4):{gardeners}}}}
{=(pings):{pings} {and({time}>={list(5):{wakeuptime}}|{time}<={list(5):{bedtime}}):{list(5):{gardeners}}}}
{=(pings):{pings} {and({time}>={list(6):{wakeuptime}}|{time}<={list(6):{bedtime}}):{list(6):{gardeners}}}}
{pings}

Embed

1 line
{"color": 5198940, "title": "Water the Tree", "author": {"name": "Grow a Tree"}, "footer": {"text": "Created by justlurkin."}, "description": "Hey there! {mention} wants y'all to water the tree, so water the damned thing!"}
Raw JSON
{
  "id": 1771705,
  "created_at": "2023-07-03T02:41:11.000Z",
  "tag_name": "pingtree",
  "nsfw": false,
  "owner_id": "756175621587206224",
  "uses": 38,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "1006624440555155466",
  "sharer": "756175621587206224",
  "content": "{=(time):{strf:%-H}}\n{=(COMMENT): Put the userID's of the people to be pinged here, in the format <@userID>, delimited by a comma (without a space after it).}\n{=(gardeners):<@756175621587206224>,<@716390085896962058>}\n{=(COMMENT): Put the wake-up times (or times when they start getting online) here. If Bob wakes up at 4, and goes to bed at 20, while Jim wakes up at 7, and goes to bed at 23, you'd put 4,7. Again, these are comma delimited. Only whole numbers please, and this only works with hours, so if you get online at 5:30, just put 5 or 6. These go in UTC. Remember, in UTC!!!!!!! Finally, make sure these are on a 24-hour clock.}\n{=(wakeuptime):7,1}\n{=(COMMENT): Same thing as the wake-up times, but for bedtimes, or inactivity times.}\n{=(bedtime):23,18}\n{=(COMMENT): Duplicate the second line of script and change the numbers to follow the pattern below, if more users are needed.}\n{=(pings):{and({time}>={list(0):{wakeuptime}}|{time}<={list(0):{bedtime}}):{list(0):{gardeners}}}}\n{=(pings):{pings} {and({time}>={list(1):{wakeuptime}}|{time}<={list(1):{bedtime}}):{list(1):{gardeners}}}}\n{=(pings):{pings} {and({time}>={list(2):{wakeuptime}}|{time}<={list(2):{bedtime}}):{list(2):{gardeners}}}}\n{=(pings):{pings} {and({time}>={list(3):{wakeuptime}}|{time}<={list(3):{bedtime}}):{list(3):{gardeners}}}}\n{=(pings):{pings} {and({time}>={list(4):{wakeuptime}}|{time}<={list(4):{bedtime}}):{list(4):{gardeners}}}}\n{=(pings):{pings} {and({time}>={list(5):{wakeuptime}}|{time}<={list(5):{bedtime}}):{list(5):{gardeners}}}}\n{=(pings):{pings} {and({time}>={list(6):{wakeuptime}}|{time}<={list(6):{bedtime}}):{list(6):{gardeners}}}}\n{pings}",
  "embed": "{\"color\": 5198940, \"title\": \"Water the Tree\", \"author\": {\"name\": \"Grow a Tree\"}, \"footer\": {\"text\": \"Created by justlurkin.\"}, \"description\": \"Hey there! {mention} wants y'all to water the tree, so water the damned thing!\"}",
  "last_fetched": "2026-10-20T19:18:45.847Z"
}