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

13 lines
233 B
Lua
Raw Normal View History

2015-04-14 22:08:25 +02:00
function run(msg, matches)
plugins = {}
load_plugins()
return 'Plugins reloaded'
end
return {
description = "Reloads Bot Plugins",
usage = "/reload",
patterns = {"^/reload$"},
2015-04-14 22:11:19 +02:00
run = run,
privileged = true
2015-04-14 22:08:25 +02:00
}