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

13 lines
272 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
}
--by Akamaru [https://ponywave.de]