Outfits

This commit is contained in:
zhbaor 2022-10-07 11:37:25 +08:00
parent 775c833f28
commit 3e6871fb34
127 changed files with 17420 additions and 2 deletions

View file

@ -31,6 +31,8 @@ def recv_msg():
query = select(m for m in Shield if m.name == name)
if query.count() == 0:
query = select(m for m in Ranged if m.name == name)
if query.count() == 0:
query = Outfit.select(name=name)
if query.count() > 0:
return {
"reply": f"[CQ:image,file=http://localhost:7000/pics/{name}.png,cache=0]",