Sha256: bc658d32f014ae50d6608d6adbcc924b11ff1529bb732849b02f2589ebec6b45
Contents?: true
Size: 396 Bytes
Versions: 5
Compression:
Stored size: 396 Bytes
Contents
desc "pug me", I18n.t("scripts.pug_me") command(/pug me/i) do response = http.get "http://pugme.herokuapp.com/random" say "<#{response["pug"]}>" end desc "pug bomb X", I18n.t("scripts.pug_bomb") command(/pug bomb( \d+)?/i) do |count| count = (count || "5").strip response = http.get "http://pugme.herokuapp.com/bomb", count: count response["pugs"].each do |pug| say "<#{pug}>" end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
boty-0.1.0 | script/pug.rb |
boty-0.0.17.1 | script/pug.rb |
boty-0.0.17 | script/pug.rb |
boty-0.0.16 | script/pug.rb |
boty-0.0.15 | script/pug.rb |