Einfach weil es nervt...

This commit is contained in:
Akamaru 2016-10-06 20:59:22 +02:00
parent 7e43a5dc8b
commit e7a76133ff

View File

@ -33,7 +33,8 @@ 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]!?$"
"^[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'
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)