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

14 lines
287 B
Lua
Raw Normal View History

2015-04-14 22:08:25 +02:00
function run(msg, matches)
plugins = {}
load_plugins()
2015-04-20 18:52:25 +02:00
return 'Plugins erfolgreich geladen!'
2015-04-14 22:08:25 +02:00
end
return {
description = "Läd die Plugins neu",
usage = {"/reload (kann nur Akamaru)"},
2015-04-14 22:08:25 +02:00
patterns = {"^/reload$"},
2015-04-14 22:11:19 +02:00
run = run,
2015-11-12 17:42:03 +01:00
privileged = true,
notyping = true
2015-04-14 22:08:25 +02:00
}