discord: add update script
This API endpoint is used by the app, and so should be stable. The app also passes the version, but leaving it out seemingly doesn't cause problems. ex request: https://discordapp.com/api/updates/stable?platform=linux&version=0.0.10
This commit is contained in:
parent
a1b5b8a4b5
commit
fbd25d29cb
|
@ -0,0 +1,3 @@
|
|||
# sample response: {"name": "0.0.11", "pub_date": "2020-08-06T16:59:21"}
|
||||
site="https://discordapp.com/api/updates/stable?platform=linux"
|
||||
pattern="\"name\":\s*\"\K[\d.]+(?=\")"
|
Loading…
Reference in New Issue