summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-04-27 22:16:08 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2014-04-27 22:16:08 +0200
commit8baa96a147e1eebb434ff6ff925f69fc5582e2e1 (patch)
tree77ecad4ac04fa357b1345dcfdf0f0a92f8927178
parentfbc2c1b68d67131a438c94c2752183297a3a6aac (diff)
downloadrepost-8baa96a147e1eebb434ff6ff925f69fc5582e2e1.tar.gz
repost-8baa96a147e1eebb434ff6ff925f69fc5582e2e1.tar.bz2
repost-8baa96a147e1eebb434ff6ff925f69fc5582e2e1.tar.xz
repost-8baa96a147e1eebb434ff6ff925f69fc5582e2e1.zip
Habemus Papam!
-rw-r--r--plugins/commands/papiez.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/commands/papiez.rb b/plugins/commands/papiez.rb
new file mode 100644
index 0000000..0c7d49e
--- /dev/null
+++ b/plugins/commands/papiez.rb
@@ -0,0 +1,3 @@
+Client.register_command("papiez") { |args|
+ File.readlines(Config[:commands][:papiez][:file]).sample
+}