revert all this shit for now.

master
Robert Gerus 2014-04-28 12:20:36 +02:00
parent f4aff75127
commit 6ab55a865b
1 changed files with 1 additions and 8 deletions

View File

@ -1,14 +1,7 @@
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],
predicate,
File.readlines(Config[:commands][:jan][:predicates]).sample.strip,
Config[:commands][:jan][:attribute],
File.readlines(Config[:commands][:jan][:object]).sample.strip
].join " "