Reload ALL the plugins!
This commit is contained in:
13
plugins/reload.lua
Normal file
13
plugins/reload.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
function run(msg, matches)
|
||||
load_plugins()
|
||||
return 'Plugins reloaded'
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Reloads bot plugins",
|
||||
usage = "!reload",
|
||||
patterns = {"^!reload$"},
|
||||
run = run
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user