Skip to content

Commit

Permalink
🐛 change proxy to optional
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaomaoniu authored Jun 16, 2024
1 parent cbfbe48 commit 0a4040f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nonebot_plugin_steam_info/config.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from typing import Optional
from pydantic import BaseModel


class Config(BaseModel):
steam_api_key: str
proxy: str = None
proxy: Optional[str] = None
steam_request_interval: int = 300 # seconds
steam_broadcast_type: str = "part" # all, part, none

0 comments on commit 0a4040f

Please sign in to comment.