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
Raw Normal View History

2015-04-14 20:21:23 +02:00
function run(msg, matches)
2015-04-20 18:52:25 +02:00
--get username
2015-04-14 20:21:23 +02:00
local user_name = get_name(msg)
2015-04-20 18:52:25 +02:00
return '' .. user_name .. ' ist nun AFK'
2015-04-14 20:21:23 +02:00
end
return {
description = "Sagt dass ihr afk seid",
usage = "/afk",
2015-04-20 18:52:25 +02:00
patterns = {"^/afk(.*)$"},
2015-04-14 20:21:23 +02:00
run = run
}
2015-04-20 18:52:25 +02:00
--by Akamaru