Einfach weil es nervt...
This commit is contained in:
parent
7e43a5dc8b
commit
e7a76133ff
@ -33,7 +33,8 @@ 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]"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -125,6 +126,8 @@ 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)
|
||||||
|
Reference in New Issue
Block a user