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/afk.lua
2015-04-14 20:21:23 +02:00

14 lines
234 B
Lua

function run(msg, matches)
local user_name = get_name(msg)
return "" .. user_name .. " ist nun AFK"
end
return {
description = "Sagt dass ihr afk seid",
usage = "/afk",
patterns = {
"^/afk(.*)$"
},
run = run
}