end\r
\r
def deepthought(m, params)\r
- thought = THOUGHTS[rand(THOUGHTS.length)]\r
- m.reply thought\r
+ m.reply THOUGHTS.pick_one\r
end\r
end\r
\r
plugin = DeepThoughts.new\r
plugin.map 'deepthought'\r
-#plugin.map 'movieplot', :action => 'do_movieplot'\r
-#plugin.map 'movietitle', :action => 'do_movietitle'\r
-\r
-\r
-\r