summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/commands/jan.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/commands/jan.rb b/plugins/commands/jan.rb
new file mode 100644
index 0000000..64318ef
--- /dev/null
+++ b/plugins/commands/jan.rb
@@ -0,0 +1,8 @@
+Client.register_command("jan") { |args|
+ [
+ "Jan Paweł II",
+ File.readlines(Config[:commands][:jan][:verbs]),
+ "małe"
+ File.readlines(Config[:commands][:jan][:nouns])
+ ].join " "
+}