From 0e8dba9d6dc5c4deeef1fa12e2d9a22732b11518 Mon Sep 17 00:00:00 2001 From: "A.M. Rowsell" Date: Mon, 4 May 2026 11:48:29 -0400 Subject: [PATCH] chore: fix discord webhook call to include APP_VERSION --- discorss.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discorss.py b/discorss.py index fc15bb8..bf431b9 100755 --- a/discorss.py +++ b/discorss.py @@ -168,7 +168,9 @@ class Discorss: "attachments": [], } custom_header = { - "user-agent": "DiscoRSS (https://git.frzn.dev/amr/discorss, 0.2)", + "user-agent": "DiscoRSS (https://git.frzn.dev/amr/discorss, {})".format( + self.APP_VERSION + ), "content-type": "application/json", } webhook_string = json.dumps(webhook)