removed old and added new sticker plugin
This commit is contained in:
parent
8c037629a7
commit
13f3a0057d
@ -1,11 +0,0 @@
|
||||
function run(msg, matches)
|
||||
send_document(get_receiver(msg), "sticker/facepalm.webp", ok_cb, false)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Sendet ein Facepalm-Sticker",
|
||||
usage = {"/facepalm","/Facepalm"},
|
||||
patterns = {"^/facepalm","^/Facepalm"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru [https://ponywave.de]
|
@ -1,11 +0,0 @@
|
||||
function run(msg, matches)
|
||||
send_document(get_receiver(msg), "sticker/naira_derp.webp", ok_cb, false)
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Naira Derp",
|
||||
usage = {"/nairad","/Nairad"},
|
||||
patterns = {"^/nairad$","^/Nairad$"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru [https://ponywave.de]
|
17
plugins/sticker.lua
Normal file
17
plugins/sticker.lua
Normal file
@ -0,0 +1,17 @@
|
||||
function run(msg, matches)
|
||||
if matches[1] == "nairaderp" then
|
||||
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"
|
||||
end
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Sendet Custom Sticker",
|
||||
usage = {"/sticker [Stickername]"},
|
||||
patterns = {"^/[S|s]ticker (.*)$"},
|
||||
run = run
|
||||
}
|
||||
--by Akamaru [https://ponywave.de]
|
Reference in New Issue
Block a user