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

13 lines
257 B
Lua

function run(msg, matches)
--get username
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
}
--by Akamaru