void-packages/srcpkgs/discord-ptb/update

4 lines
173 B
Plaintext

# sample response: {"name": "0.0.11", "pub_date": "2020-08-06T16:59:21"}
site="https://discordapp.com/api/updates/ptb?platform=linux"
pattern="\"name\":\s*\"\K[\d.]+(?=\")"