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
|
|
|
}
|
2013-06-09 17:03:52 +00:00
|
|
|
|
|
|
|
Client.register_command("load") { |args|
|
|
|
|
Client.load_config
|
|
|
|
|
|
|
|
"config reloaded..."
|
|
|
|
}
|