로그:
Requirement already satisfied: idna>=2.0 in ./.local/lib/python3.12/site-packages (from yarl<2.0,>=1.17.0->aiohttp<4,>=3.7.4->discord.py->-r requirements.txt (line 1)) (3.11)
[notice] A new release of pip is available: 25.0.1 -> 26.0.1
[notice] To update, run: pip install --upgrade pip
File "/home/container/app.py", line 467
await i.response.send_message("❌ 개발자만 가능", ephemeral=True)
IndentationError: unexpected indent
코드:@tree.command(name="주식변동")
async def 주식변동(i: discord.Interaction, 이름: str, 값: int):
if i.user.id != OWNER_ID:1301678305229144227
await i.response.send_message("❌ 개발자만 가능", ephemeral=True)
return
if 이름 not in STOCKS = {
"우이이": 1000,
"uzi": 1200,
"noda": 900
}
await i.response.send_message("❌ 없는 주식", ephemeral=True)
return
if 값 < 0 or 값 > 100000:
await i.response.send_message("❌ 범위 오류", ephemeral=True)
return
STOCKS[이름] = 값
STOCK_HISTORY[이름].append(값)
await i.response.send_message(f"{이름} → {값}")