Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merged multiple msg.send commands into one to ensure consistent outpu…

…t order.
  • Loading branch information...
commit 326b542ed13592cfb9f8b49a94eace725ee211ea 1 parent 9beced1
@sopel sopel authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/scripts/xkcd.coffee
View
4 src/scripts/xkcd.coffee
@@ -27,6 +27,4 @@ module.exports = (robot) ->
msg.send 'Comic not found.'
else
object = JSON.parse(body)
- msg.send object.title
- msg.send object.img
- msg.send object.alt
+ msg.send object.title, object.img, object.alt
Please sign in to comment.
Something went wrong with that request. Please try again.