summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-03-24 01:32:05 +0100
committerRobert Gerus <arachnist@i.am-a.cat>2015-03-24 01:32:05 +0100
commitf82ba8af0797806e08ab608d931e265ef97046d5 (patch)
tree87f03896572d5ae61dc35f833683c61ee54a991c
parentbfc4de568054e27345803ecc9641fd6eac947e2d (diff)
downloadrepost-f82ba8af0797806e08ab608d931e265ef97046d5.tar.gz
repost-f82ba8af0797806e08ab608d931e265ef97046d5.tar.bz2
repost-f82ba8af0797806e08ab608d931e265ef97046d5.tar.xz
repost-f82ba8af0797806e08ab608d931e265ef97046d5.zip
permanently add :pick command, finally.
-rw-r--r--plugins/commands/pick.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/commands/pick.rb b/plugins/commands/pick.rb
new file mode 100644
index 0000000..8290046
--- /dev/null
+++ b/plugins/commands/pick.rb
@@ -0,0 +1,3 @@
+Client.register_command("pick") { |args|
+ args.sample
+}