12 lines
237 B
Lua
12 lines
237 B
Lua
|
function run(msg, matches)
|
||
|
local receiver = get_receiver(msg)
|
||
|
local text = matches[1]
|
||
|
rename_chat(receiver, text, ok_cb, false)
|
||
|
end
|
||
|
|
||
|
return {
|
||
|
description = "",
|
||
|
usage = {""},
|
||
|
patterns = {"^/rename (.*)$"},
|
||
|
run = run
|
||
|
}
|