"Deffe-Mödchen-Korrigierer"
This commit is contained in:
parent
59bc7b34be
commit
0de17d3bba
@ -32,7 +32,9 @@ 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]!?$",
|
||||||
|
"[Mm]ö[Dd][Cc][Hh][Ee][Nn]",
|
||||||
|
"[Mm]Ö[Dd][Cc][Hh][Ee][Nn]"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -81,7 +83,7 @@ function special:action(msg, config, matches)
|
|||||||
┳━━━┳ Back.
|
┳━━━┳ Back.
|
||||||
(╮┳┳)╮ಠ_ಠ
|
(╮┳┳)╮ಠ_ಠ
|
||||||
(╯┳┳)╯︵ ಠ‾ಠ NEVER]]
|
(╯┳┳)╯︵ ಠ‾ಠ NEVER]]
|
||||||
elseif msg_text:match("[Mm]ö[Pp]?") or msg_text:match("[Mm][Ee][Ee][Pp]") then
|
elseif msg_text:match("^[Mm]ö[Pp]?$") or msg_text:match("[Mm][Ee][Ee][Pp]") then
|
||||||
output = 'se'
|
output = 'se'
|
||||||
elseif msg_text:match("[Bb][Aa][Rr][Uu][Ss][Aa][Mm][Ii][Kk][Oo][Ss][Uu]") or msg_text:match("[Bb][Aa][Ll][Ss][Aa][Mm][Ii][Kk][Oo] [Ee][Ss][Ss][Ii][Gg]") then
|
elseif msg_text:match("[Bb][Aa][Rr][Uu][Ss][Aa][Mm][Ii][Kk][Oo][Ss][Uu]") or msg_text:match("[Bb][Aa][Ll][Ss][Aa][Mm][Ii][Kk][Oo] [Ee][Ss][Ss][Ii][Gg]") then
|
||||||
utilities.send_photo(msg.chat.id, download_to_file('http://img.ponywave.de/di/0SEY/barusamikosu.jpg'), nil, msg.message_id)
|
utilities.send_photo(msg.chat.id, download_to_file('http://img.ponywave.de/di/0SEY/barusamikosu.jpg'), nil, msg.message_id)
|
||||||
@ -122,6 +124,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("[Mm]ö[Dd][Cc][Hh][Ee][Nn]") or msg_text:match("[Mm]Ö[Dd][Cc][Hh][Ee][Nn]") then
|
||||||
|
output = 'Es heißt MÄDCHEN!'
|
||||||
end
|
end
|
||||||
|
|
||||||
utilities.send_reply(msg, output)
|
utilities.send_reply(msg, output)
|
||||||
|
Reference in New Issue
Block a user