script/pug.rb in boty-0.1.1 vs script/pug.rb in boty-0.1.2
- old
+ new
@@ -7,10 +7,10 @@
desc "pug bomb X", I18n.t("scripts.pug_bomb")
command(/pug bomb( \d+)?/i) do |count|
count = (count || "5").strip
if count.to_i > 5
count = "5"
- say "wow! so many pugs! sendind 5 instead."
+ say I18n.t :"scripts.pug_max"
end
response = http.get "http://pugme.herokuapp.com/bomb", count: count
response["pugs"].each do |pug| say "<#{pug}>" end
end