mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-27 22:40:55 +00:00
feat: 支持天气
This commit is contained in:
13
liteyuki/plugins/liteyuki_weather/models.py
Normal file
13
liteyuki/plugins/liteyuki_weather/models.py
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
from liteyuki.utils.data import LiteModel
|
||||
|
||||
|
||||
class Location(LiteModel):
|
||||
name: str = ""
|
||||
id: str = ""
|
||||
country: str = ""
|
||||
|
||||
class WeatherNow(LiteModel):
|
||||
time: str = ""
|
||||
city: str = ""
|
||||
|
Reference in New Issue
Block a user