repost/plugins/commands/reload.rb

12 lines
189 B
Ruby
Raw Permalink Normal View History

2013-06-09 14:45:30 +00:00
Client.register_command("reload") { |args|
2013-06-09 16:21:55 +00:00
Client.load_plugins
2013-06-09 14:45:30 +00:00
2013-06-09 16:21:55 +00:00
"plugins reloaded..."
2013-06-09 14:45:30 +00:00
}
Client.register_command("load") { |args|
Client.load_config
"config reloaded..."
}