repost/plugins/commands/reload.rb
2013-06-09 19:03:52 +02:00

11 lines
189 B
Ruby

Client.register_command("reload") { |args|
Client.load_plugins
"plugins reloaded..."
}
Client.register_command("load") { |args|
Client.load_config
"config reloaded..."
}