diff --git a/plugins/facepalm.lua b/plugins/facepalm.lua deleted file mode 100644 index 2a4cebd..0000000 --- a/plugins/facepalm.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/naira_derp.lua b/plugins/naira_derp.lua deleted file mode 100644 index 6f1701a..0000000 --- a/plugins/naira_derp.lua +++ /dev/null @@ -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] \ No newline at end of file diff --git a/plugins/sticker.lua b/plugins/sticker.lua new file mode 100644 index 0000000..62c5937 --- /dev/null +++ b/plugins/sticker.lua @@ -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] \ No newline at end of file