Skip to content

weather

Daedalus1400 edited this page Jun 4, 2017 · 3 revisions

Description:

The weather condition checks the current weather.

Added in release version 0.6.0

Arguments:

type

Must be "weather".

condition

Accepts a string. Valid values are "clear", "raining", and "thundering"

Example Usage:

The following example returns true if it is raining.

{"type": "weather", "condition": "raining"}

Clone this wiki locally