forked from ChrisChrome/weather-bot
231 lines
4.4 KiB
JSON
231 lines
4.4 KiB
JSON
[
|
|
{
|
|
"name": "subscribe",
|
|
"description": "Subscribe to a weather.im room",
|
|
"default_member_permissions": 16,
|
|
"options": [
|
|
{
|
|
"name": "room",
|
|
"description": "The room/WFO you want to subscribe to",
|
|
"type": 3,
|
|
"required": true,
|
|
"autocomplete": false
|
|
},
|
|
{
|
|
"name": "message",
|
|
"description": "Custom message to send when alert is sent",
|
|
"type": 3,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "filter",
|
|
"description": "Filter for the alert, you can comma separate multiple strings of text",
|
|
"type": 3,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "minpriority",
|
|
"description": "Minimum priority to alert for",
|
|
"type": 4,
|
|
"required": false,
|
|
"choices": [
|
|
{
|
|
"name": "Any",
|
|
"value": 0
|
|
},
|
|
{
|
|
"name": "Minimum",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "Low",
|
|
"value": 2
|
|
},
|
|
{
|
|
"name": "Normal",
|
|
"value": 3
|
|
},
|
|
{
|
|
"name": "High",
|
|
"value": 4
|
|
},
|
|
{
|
|
"name": "Very High",
|
|
"value": 5
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "filterevt",
|
|
"description": "Filter for event type, you can comma separate multiple strings of text",
|
|
"type": 3,
|
|
"required": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "unsubscribe",
|
|
"description": "Unsubscribe from a weather.im room",
|
|
"default_member_permissions": 16,
|
|
"options": [
|
|
{
|
|
"name": "room",
|
|
"description": "The room/WFO you want to unsubscribe from",
|
|
"type": 3,
|
|
"required": true,
|
|
"autocomplete": false
|
|
}
|
|
]
|
|
},
|
|
|
|
{
|
|
"name": "list",
|
|
"description": "List all subscribed rooms for this channel",
|
|
"default_member_permissions": 16
|
|
},
|
|
{
|
|
"name": "about",
|
|
"description": "About this bot"
|
|
},
|
|
{
|
|
"name": "rooms",
|
|
"description": "List all available rooms"
|
|
},
|
|
{
|
|
"name": "setupall",
|
|
"description": "[OWNER ONLY] Setup channels in a category for all rooms",
|
|
"default_member_permissions": 0,
|
|
"type": 1
|
|
},
|
|
{
|
|
"name": "support",
|
|
"description": "Get support for the bot",
|
|
"type": 1
|
|
},
|
|
{
|
|
"name": "outlook",
|
|
"description": "Get day 1-8 storm or fire outlook from the SPC",
|
|
"type": 1,
|
|
"integration_types": [0,1],
|
|
"contexts": [0, 1, 2],
|
|
"options": [
|
|
{
|
|
"name": "day",
|
|
"description": "Day of outlook",
|
|
"type": 4,
|
|
"required": true,
|
|
"choices": [
|
|
{
|
|
"name": "Day 1",
|
|
"value": 0
|
|
},
|
|
{
|
|
"name": "Day 2",
|
|
"value": 1
|
|
},
|
|
{
|
|
"name": "Day 3",
|
|
"value": 2
|
|
},
|
|
{
|
|
"name": "Day 4",
|
|
"value": 3
|
|
},
|
|
{
|
|
"name": "Day 5",
|
|
"value": 4
|
|
},
|
|
{
|
|
"name": "Day 6",
|
|
"value": 5
|
|
},
|
|
{
|
|
"name": "Day 7",
|
|
"value": 6
|
|
},
|
|
{
|
|
"name": "Day 8",
|
|
"value": 7
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "type",
|
|
"description": "Type of outlook",
|
|
"type": 3,
|
|
"required": true,
|
|
"choices": [
|
|
{
|
|
"name": "Fire",
|
|
"value": "fire"
|
|
},
|
|
{
|
|
"name": "Convective",
|
|
"value": "convective"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "population_overlay",
|
|
"description": "Whether to add the population overlay",
|
|
"type": 5,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "city_overlay",
|
|
"description": "Whether to add the city name overlay",
|
|
"type": 5,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "cwa_overlay",
|
|
"description": "Whether to add the County Warning Area overlay",
|
|
"type": 5,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "rfc_overlay",
|
|
"description": "Whether to add the River Forecast Center overlay",
|
|
"type": 5,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "interstate_overlay",
|
|
"description": "Whether to add the interstate overlay",
|
|
"type": 5,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "county_overlay",
|
|
"description": "Whether to add the county lines overlay",
|
|
"type": 5,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "tribal_overlay",
|
|
"description": "Whether to add the tribal lands overlay",
|
|
"type": 5,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "artcc_overlay",
|
|
"description": "Whether to add the Air Route Traffic Control Centers overlay",
|
|
"type": 5,
|
|
"required": false
|
|
},
|
|
{
|
|
"name": "fema_overlay",
|
|
"description": "Whether to add the FEMA regions overlay",
|
|
"type": 5,
|
|
"required": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "alertmap",
|
|
"description": "Get a map of active alerts",
|
|
"type": 1,
|
|
"integration_types": [0,1],
|
|
"contexts": [0, 1, 2]
|
|
}
|
|
] |