Fixes
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -7,4 +7,5 @@ Bot-Kommandoliste.txt
|
|||||||
msg.txt
|
msg.txt
|
||||||
merge.sh
|
merge.sh
|
||||||
miku/plugins/link_warning.lua
|
miku/plugins/link_warning.lua
|
||||||
luarocks
|
luarocks
|
||||||
|
miku/plugins/gTrendDoge.lua
|
@ -33,8 +33,7 @@ special.triggers = {
|
|||||||
"^%(\\$",
|
"^%(\\$",
|
||||||
"^/[Ss][Cc][Hh][Ee][Ll][Ll][Ee]$",
|
"^/[Ss][Cc][Hh][Ee][Ll][Ll][Ee]$",
|
||||||
"^[Pp][Ii][Nn][Gg]$",
|
"^[Pp][Ii][Nn][Gg]$",
|
||||||
"^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][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]"
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,8 +125,6 @@ function special:action(msg, config, matches)
|
|||||||
output = 'Pong'
|
output = 'Pong'
|
||||||
elseif msg_text:match("^[Dd][Aa][Ss] [Ii][Ss][Tt]? [Nn][Ii][Cc][Hh][Tt]? [Ll][Uu][Ss][Tt][Ii][Gg]!?$") then
|
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!'
|
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
|
end
|
||||||
|
|
||||||
utilities.send_reply(msg, output)
|
utilities.send_reply(msg, output)
|
||||||
|
@ -1,9 +1,7 @@
|
|||||||
local speedtest = {}
|
local speedtest = {}
|
||||||
|
|
||||||
speedtest.triggers = {
|
speedtest.triggers = {
|
||||||
"speedtest%.net/my%-result/(%d+)",
|
"speedtest%.net/my%-result/?a?i?/(%d+)"
|
||||||
"speedtest%.net/my%-result/i/(%d+)",
|
|
||||||
"speedtest%.net/result/(%d+)"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function speedtest:action(msg, config, matches)
|
function speedtest:action(msg, config, matches)
|
||||||
|
Reference in New Issue
Block a user