Added reload plugin
This commit is contained in:
parent
b060a9628d
commit
a59ddef152
12
plugins/reload.lua
Normal file
12
plugins/reload.lua
Normal file
@ -0,0 +1,12 @@
|
||||
function run(msg, matches)
|
||||
plugins = {}
|
||||
load_plugins()
|
||||
return 'Plugins reloaded'
|
||||
end
|
||||
|
||||
return {
|
||||
description = "Reloads Bot Plugins",
|
||||
usage = "/reload",
|
||||
patterns = {"^/reload$"},
|
||||
run = run
|
||||
}
|
Reference in New Issue
Block a user