This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
Mikubot/plugins/sticker.lua

17 lines
520 B
Lua

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]