Utility & web · Value
Bot status
The bot's ping to Discord and how long it has been up, for a /ping command.
util.bot_status
In a flow
“Works out bot status whenever a step wired to it needs the answer.”
→ 42 ms, up 3 hours
What it does
The bot's ping to Discord and how long it has been up, for a /ping command. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under Utility & web in the palette.
When to use it
Use it for odds and ends: the bot's ping to Discord and how long it has been up, for a /ping command.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Values it gives
- Ping (ms) Number
-
Milliseconds to Discord and back. e.g. 42
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Up for (minutes) Number
-
Minutes since the bot started. e.g. 180
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Up for Text
-
How long it's been up, in words. e.g. 3 hours
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more