new plugin me.lua
This commit is contained in:
parent
e3ecec91c1
commit
18f1966138
13
plugins/me.lua
Normal file
13
plugins/me.lua
Normal file
@ -0,0 +1,13 @@
|
||||
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]
|
Reference in New Issue
Block a user