From 86a608a983a71bef25508a4ec9cd87714ee2360e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=84=9C=EB=B2=84?= Date: Thu, 5 Mar 2026 00:33:32 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Discord=20API=20User-Agent=20=ED=97=A4?= =?UTF-8?q?=EB=8D=94=20=EC=B6=94=EA=B0=80=20(Cloudflare=201010=20=EC=B0=A8?= =?UTF-8?q?=EB=8B=A8=20=ED=95=B4=EA=B2=B0)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- api-server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-server.py b/api-server.py index b84d686..3debea7 100644 --- a/api-server.py +++ b/api-server.py @@ -71,7 +71,8 @@ def discord_bot_send(channel_id, payload): data=body, headers={ 'Content-Type': 'application/json', - 'Authorization': f'Bot {DISCORD_BOT_TOKEN}' + 'Authorization': f'Bot {DISCORD_BOT_TOKEN}', + 'User-Agent': 'DiscordBot (https://minglestudio.co.kr, 1.0)' }, method='POST' )