🚑 Ranged weapons query
This commit is contained in:
parent
f895e100d2
commit
775c833f28
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ def recv_msg():
|
|||
query = select(m for m in Melee if m.name == name)
|
||||
if query.count() == 0:
|
||||
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:
|
||||
return {
|
||||
"reply": f"[CQ:image,file=http://localhost:7000/pics/{name}.png,cache=0]",
|
||||
|
|
Loading…
Reference in a new issue