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

13 lines
287 B
Lua

function run(msg, matches)
local user_name = get_name(msg)
local receiver = get_receiver(msg)
return "Hallo " .. user_name .. "!"
end
return {
description = "Miku sagt Hallo zu euch",
usage = {"Hallo","hallo"},
patterns = {"^Hallo$","^hallo$"},
run = run
}
--by Akamaru