summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-04-27 22:19:20 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2014-04-27 22:19:20 +0200
commit588e4fd6fd808d4615e42f00f098d12a77eec2b3 (patch)
treede95279e6c8da650bf291ca377b59fef9a192e4e
parent8baa96a147e1eebb434ff6ff925f69fc5582e2e1 (diff)
downloadrepost-588e4fd6fd808d4615e42f00f098d12a77eec2b3.tar.gz
repost-588e4fd6fd808d4615e42f00f098d12a77eec2b3.tar.bz2
repost-588e4fd6fd808d4615e42f00f098d12a77eec2b3.tar.xz
repost-588e4fd6fd808d4615e42f00f098d12a77eec2b3.zip
add noun.
-rw-r--r--plugins/commands/papiez.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/commands/papiez.rb b/plugins/commands/papiez.rb
index 0c7d49e..a2eba3b 100644
--- a/plugins/commands/papiez.rb
+++ b/plugins/commands/papiez.rb
@@ -1,3 +1,3 @@
Client.register_command("papiez") { |args|
- File.readlines(Config[:commands][:papiez][:file]).sample
+ Config[:commands][:papiez][:noun] + File.readlines(Config[:commands][:papiez][:adjectives]).sample
}