From 8baa96a147e1eebb434ff6ff925f69fc5582e2e1 Mon Sep 17 00:00:00 2001 From: Robert Gerus Date: Sun, 27 Apr 2014 22:16:08 +0200 Subject: [PATCH] Habemus Papam! --- plugins/commands/papiez.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 plugins/commands/papiez.rb 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 +}