summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-04-27 22:27:12 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2014-04-27 22:27:12 +0200
commit458de6ca82ad47feab2cc31372928d1ef7ce693d (patch)
treeac37d69dbb1e932567fe9ab9da850009414367e2
parent158bbafd9deee64041dafd2968637458aedce831 (diff)
downloadrepost-458de6ca82ad47feab2cc31372928d1ef7ce693d.tar.gz
repost-458de6ca82ad47feab2cc31372928d1ef7ce693d.tar.bz2
repost-458de6ca82ad47feab2cc31372928d1ef7ce693d.tar.xz
repost-458de6ca82ad47feab2cc31372928d1ef7ce693d.zip
papie[zż]
-rw-r--r--plugins/commands/papiez.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/commands/papiez.rb b/plugins/commands/papiez.rb
index 24fb519..89b51fe 100644
--- a/plugins/commands/papiez.rb
+++ b/plugins/commands/papiez.rb
@@ -1,3 +1,7 @@
+Client.register_command("papież") { |args|
+ Config[:commands][:papiez][:noun] + " " +
+ File.readlines(Config[:commands][:papiez][:adjectives]).sample
+}
Client.register_command("papiez") { |args|
Config[:commands][:papiez][:noun] + " " +
File.readlines(Config[:commands][:papiez][:adjectives]).sample