This should work

This commit is contained in:
Robert Gerus 2014-04-28 09:14:05 +02:00
parent aea255418f
commit 499e1b0875

View file

@ -1,8 +1,8 @@
Client.register_command("jan") { |args|
[
Config[:commands][:jan][:subject],
File.readlines(Config[:commands][:jan][:predicates]),
File.readlines(Config[:commands][:jan][:predicates]).sample.strip,
Config[:commands][:jan][:attribute],
File.readlines(Config[:commands][:jan][:object])
File.readlines(Config[:commands][:jan][:object]).sample.strip
].join " "
}