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

13 lines
259 B
Lua
Raw Normal View History

2015-08-02 22:06:28 +02:00
function run(msg, matches)
local text = matches[1]
local user_name = get_name(msg)
return user_name .. ' ' .. text
end
return {
description = "",
usage = {""},
patterns = {"^/me (.*)$"},
run = run
}
--by Akamaru [https://ponywave.de]