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/echo.lua
2015-02-04 23:03:42 +01:00

13 lines
205 B
Lua

function run(msg, matches)
return matches[1]
end
return {
description = "Simplest plugin ever!",
usage = "!echo [whatever]: echoes the msg",
patterns = {"^!echo (.*)$"},
run = run
}