cannawen / dota-gsi-discord-bot

Use Dota 2's Game State Integration API to make helpful announcements in a discord voice channel
MIT License
5 stars 2 forks source link

[feature] add versioning to GSI file to be able to reference changes between files #112

Closed cannawen closed 1 year ago

cannawen commented 1 year ago

no version or v1

"Dota 2 Coach Configuration"
{
    "uri"               "SERVER_URL/gsi"
    "timeout"           "10.0"
    "buffer"            "0.0"
    "throttle"          "0.5"
    "heartbeat"         "30.0"
    "data"
    {
        "abilities"     "1"
        "buildings"     "0"
        "couriers"      "0"
        "draft"         "0"
        "events"        "1"
        "items"         "1"
        "hero"          "1"
        "league"        "0"
        "map"           "1"
        "minimap"       "0"
        "neutralitems"  "0"
        "player"        "1"
        "provider"      "1"
        "roshan"        "0"
        "wearables"     "0"
    }
    "auth"
    {
        "token" "STUDENT_ID"
    }
}
cannawen commented 1 year ago

v2 adds buildings 1 and the versioning string appended to the auth token

cannawen commented 1 year ago

v3 adds minimap 1.

Note: need to update the fly.toml file for deployment.