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/niissan.lua

19 lines
452 B
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
function run(msg, matches)
if string.starts(msg.text, 'nii-san') or string.starts(msg.text, 'Nii-san') or string.starts(msg.text, 'Nissan') or string.starts(msg.text, 'nissan') then
send_photo(get_receiver(msg), "pictures/Nii-san.jpg", ok_cb, false)
end
end
return {
description = "Nii-san <3",
usage = "nii-san, Nii-san, nissan oder Nissan",
patterns = {"^nii-san",
"^Nii-san",
"^nissan",
"^Nissan"},
run = run
}