void-packages/srcpkgs/discord-ptb/update
0x5c b363e25fef discord-ptb: update to 0.0.27.
- Added and tested 'update' file based on package 'discord'
2021-12-17 05:19:48 -03:00

3 lines
173 B
Text

# 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.]+(?=\")"