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/reload.lua
2015-04-14 22:11:19 +02:00

13 lines
233 B
Lua

function run(msg, matches)
plugins = {}
load_plugins()
return 'Plugins reloaded'
end
return {
description = "Reloads Bot Plugins",
usage = "/reload",
patterns = {"^/reload$"},
run = run,
privileged = true
}