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)