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

20 lines
532 B
Lua
Raw Normal View History

function run(msg, matches)
if matches[1] == "nairaderp" then
send_document(get_receiver(msg), "sticker/naira_derp.webp", ok_cb, false)
2015-06-02 21:53:29 +02:00
elseif matches[1] == "facepalm" then
send_document(get_receiver(msg), "sticker/facepalm.webp", ok_cb, false)
2015-06-02 21:53:29 +02:00
elseif matches[1] == "all" then
return [[
#sticker nairaderp
#sticker facepalm
2015-06-02 21:53:29 +02:00
]]
end
end
return {
description = "Sendet Custom Sticker",
usage = {"#sticker [Stickername]"},
patterns = {"^#sticker (.*)$"},
run = run
}
--by Akamaru [https://ponywave.de]