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
David Muñoz d525528ad3 fix
2014-12-17 09:48:20 +01:00

15 lines
216 B
Lua

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