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
2016-06-22 13:59:06 +02:00

20 lines
532 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] == "all" then
return [[
#sticker nairaderp
#sticker facepalm
]]
end
end
return {
description = "Sendet Custom Sticker",
usage = {"#sticker [Stickername]"},
patterns = {"^#sticker (.*)$"},
run = run
}
--by Akamaru [https://ponywave.de]