This commit is contained in:
xtaodada 2023-08-08 18:06:08 +08:00
parent 3441610ba1
commit dfd93d89e2
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

32
main.py
View File

@ -18,20 +18,25 @@ app.add_middleware(
allow_methods=["*"],
allow_headers=["*"],
)
groups_id = [1366383997, 1797471403]
groups_id = [1366383997, 1797471403, 1936247070]
groups = {
"groups": [
{
"group_id": "1366383997",
"name": "原神 · 提瓦特大陆",
"pub_id": "GenshinImpact"
},
{
"group_id": "1797471403",
"name": "崩坏:星穹铁道 · 仙舟:罗浮",
"pub_id": "HSRCN_Group"
}
]
"groups": [
{
"group_id": "1366383997",
"name": "原神 · 提瓦特大陆",
"pub_id": "GenshinImpact"
},
{
"group_id": "1797471403",
"name": "崩坏:星穹铁道 · 仙舟:罗浮",
"pub_id": "HSRCN_Group"
},
{
"group_id": "1936247070",
"name": "绝区零 · 新艾利都",
"pub_id": "ZZZGroups"
}
]
}
@ -78,7 +83,6 @@ async def redirect_to_html():
app.mount("/", StaticFiles(directory="html"), name="html")
if __name__ == "__main__":
import uvicorn