Skip to content

Commit

Permalink
更正空气质量错误
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuuu committed Feb 17, 2019
1 parent e7b8ba8 commit 83d171e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 全局词条的lua脚本/空气质量.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ local function search(name)
"\r\n使用指令“空气质量”加监测站编号查看数据"
end

if message:find("空气质量") == 1 then
if message == "空气质量" then
print(at(qq))
print("使用帮助:\r\n发送空气质量加城市英文(拼音),即可查询\r\n如:空气质量harbin")
elseif message:find("空气质量") == 1 then
message = message:gsub("空气质量 *","")
if message == "空气质量" then
print(at(qq))
print("使用帮助:\r\n发送空气质量加城市英文(拼音),即可查询\r\n如:空气质量harbin")
elseif tonumber(message) then
if tonumber(message) then
print(at(qq))
print(getInfo(message))
else
Expand Down

0 comments on commit 83d171e

Please sign in to comment.