diff --git a/srcpkgs/discord/update b/srcpkgs/discord/update new file mode 100644 index 00000000000..aa3cc6287b4 --- /dev/null +++ b/srcpkgs/discord/update @@ -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.]+(?=\")"