diff --git a/qqbot/31-2/bot.py b/qqbot/31-2/bot.py index 18a6d80..2fdeb6d 100755 --- a/qqbot/31-2/bot.py +++ b/qqbot/31-2/bot.py @@ -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]",