This should work
parent
aea255418f
commit
499e1b0875
|
@ -1,8 +1,8 @@
|
||||||
Client.register_command("jan") { |args|
|
Client.register_command("jan") { |args|
|
||||||
[
|
[
|
||||||
Config[:commands][:jan][:subject],
|
Config[:commands][:jan][:subject],
|
||||||
File.readlines(Config[:commands][:jan][:predicates]),
|
File.readlines(Config[:commands][:jan][:predicates]).sample.strip,
|
||||||
Config[:commands][:jan][:attribute],
|
Config[:commands][:jan][:attribute],
|
||||||
File.readlines(Config[:commands][:jan][:object])
|
File.readlines(Config[:commands][:jan][:object]).sample.strip
|
||||||
].join " "
|
].join " "
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue