test with patterns
This commit is contained in:
parent
975334f28b
commit
2deb795a35
@ -4,8 +4,8 @@ end
|
||||
|
||||
return {
|
||||
description = "Nyu?",
|
||||
usage = {"nyu","Nyu"},
|
||||
patterns = {"^nyu","^Nyu"},
|
||||
usage = {"nyu"},
|
||||
patterns = {"^[N|n][Y|y][U|u]$"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru [https://ponywave.de]
|
@ -3,8 +3,11 @@ function run(msg, matches)
|
||||
send_document(get_receiver(msg), "sticker/naira_derp.webp", ok_cb, false)
|
||||
elseif matches[1] == "facepalm" then
|
||||
send_document(get_receiver(msg), "sticker/facepalm.webp", ok_cb, false)
|
||||
elseif matches[1] == "liste" then
|
||||
return "nairaderp\nfacepalm"
|
||||
elseif matches[1] == "all" then
|
||||
return [[
|
||||
/sticker nairaderp
|
||||
/sticker facepalm
|
||||
]]
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -6,7 +6,7 @@ end
|
||||
return {
|
||||
description = "Sagt dass ihr wieder da seid",
|
||||
usage = {"/wd"},
|
||||
patterns = {"^/wd$"},
|
||||
patterns = {"^/[w|W][d|D]$"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru [https://ponywave.de]
|
Reference in New Issue
Block a user