summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/deepthoughts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/deepthoughts.rb')
-rw-r--r--data/rbot/plugins/deepthoughts.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/data/rbot/plugins/deepthoughts.rb b/data/rbot/plugins/deepthoughts.rb
index 510b8c3c..87ccab2d 100644
--- a/data/rbot/plugins/deepthoughts.rb
+++ b/data/rbot/plugins/deepthoughts.rb
@@ -81,15 +81,9 @@ class DeepThoughts < Plugin
end
def deepthought(m, params)
- thought = THOUGHTS[rand(THOUGHTS.length)]
- m.reply thought
+ m.reply THOUGHTS.pick_one
end
end
plugin = DeepThoughts.new
plugin.map 'deepthought'
-#plugin.map 'movieplot', :action => 'do_movieplot'
-#plugin.map 'movietitle', :action => 'do_movietitle'
-
-
-