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

15 lines
216 B
Lua
Raw Normal View History

2014-12-16 15:05:42 +01:00
function run(msg, matches)
2014-12-17 09:48:20 +01:00
plugins = {}
2014-12-16 15:05:42 +01:00
load_plugins()
return 'Plugins reloaded'
end
return {
description = "Reloads bot plugins",
usage = "!reload",
patterns = {"^!reload$"},
run = run
}