revert all this shit for now.
parent
f4aff75127
commit
6ab55a865b
|
@ -1,14 +1,7 @@
|
||||||
Client.register_command("jan") { |args|
|
Client.register_command("jan") { |args|
|
||||||
p args
|
|
||||||
if args =~ /ał$/ then
|
|
||||||
predicate = args
|
|
||||||
else
|
|
||||||
predicate = File.readlines(Config[:commands][:jan][:predicates]).sample.strip
|
|
||||||
end
|
|
||||||
|
|
||||||
[
|
[
|
||||||
Config[:commands][:jan][:subject],
|
Config[:commands][:jan][:subject],
|
||||||
predicate,
|
File.readlines(Config[:commands][:jan][:predicates]).sample.strip,
|
||||||
Config[:commands][:jan][:attribute],
|
Config[:commands][:jan][:attribute],
|
||||||
File.readlines(Config[:commands][:jan][:object]).sample.strip
|
File.readlines(Config[:commands][:jan][:object]).sample.strip
|
||||||
].join " "
|
].join " "
|
||||||
|
|
Loading…
Reference in New Issue