From d68fa5aed53d27b12aaa0f3c7c79cb72fa4d911e Mon Sep 17 00:00:00 2001 From: Js0n <29531167+JasonKhew96@users.noreply.github.com> Date: Tue, 24 Oct 2023 09:27:13 +0800 Subject: [PATCH] fix(ci): cast chat id and thread id into int (#1078) --- scripts/ksubot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ksubot.py b/scripts/ksubot.py index f99eac3f05b2..1895dfab56f4 100644 --- a/scripts/ksubot.py +++ b/scripts/ksubot.py @@ -9,8 +9,8 @@ BOT_TOKEN = os.environ.get("BOT_TOKEN") -CHAT_ID = os.environ.get("CHAT_ID") -MESSAGE_THREAD_ID = os.environ.get("MESSAGE_THREAD_ID") +CHAT_ID = int(os.environ.get("CHAT_ID")) +MESSAGE_THREAD_ID = int(os.environ.get("MESSAGE_THREAD_ID")) COMMIT_URL = os.environ.get("COMMIT_URL") COMMIT_MESSAGE = os.environ.get("COMMIT_MESSAGE") RUN_URL = os.environ.get("RUN_URL")