Fix: Discord API User-Agent 헤더 추가 (Cloudflare 1010 차단 해결)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
25dc7d3bc8
commit
86a608a983
@ -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'
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user