Fixes
This commit is contained in:
parent
9295dc9630
commit
814173a4fb
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,4 +7,5 @@ Bot-Kommandoliste.txt
|
||||
msg.txt
|
||||
merge.sh
|
||||
miku/plugins/link_warning.lua
|
||||
luarocks
|
||||
luarocks
|
||||
miku/plugins/gTrendDoge.lua
|
@ -33,8 +33,7 @@ special.triggers = {
|
||||
"^%(\\$",
|
||||
"^/[Ss][Cc][Hh][Ee][Ll][Ll][Ee]$",
|
||||
"^[Pp][Ii][Nn][Gg]$",
|
||||
"^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$",
|
||||
"[Kk][Aa][Pp][Pp][Aa][Rr][Oo][Ss][Ss]"
|
||||
"^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$"
|
||||
|
||||
}
|
||||
|
||||
@ -126,8 +125,6 @@ function special:action(msg, config, matches)
|
||||
output = 'Pong'
|
||||
elseif msg_text:match("^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$") then
|
||||
output = 'Aber Funny!'
|
||||
elseif msg_text:match("[Kk][Aa][Pp][Pp][Aa][Rr][Oo][Ss][Ss]") then
|
||||
utilities.send_document(msg.chat.id, download_to_file('https://dl.dropboxusercontent.com/s/iew6d761gu43mil/is_des_so.webp'), nil, msg.message_id)
|
||||
end
|
||||
|
||||
utilities.send_reply(msg, output)
|
||||
|
@ -1,9 +1,7 @@
|
||||
local speedtest = {}
|
||||
|
||||
speedtest.triggers = {
|
||||
"speedtest%.net/my%-result/(%d+)",
|
||||
"speedtest%.net/my%-result/i/(%d+)",
|
||||
"speedtest%.net/result/(%d+)"
|
||||
"speedtest%.net/my%-result/?a?i?/(%d+)"
|
||||
}
|
||||
|
||||
function speedtest:action(msg, config, matches)
|
||||
|
Reference in New Issue
Block a user