mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
Update modules/link/link.js
Tab fix attempt 2
This commit is contained in:
parent
8d3d5d08a5
commit
5f0bcd7710
@ -35,7 +35,6 @@ var link = function(dbot) {
|
|||||||
|
|
||||||
'~xkcd': function(event) {
|
'~xkcd': function(event) {
|
||||||
var comicId = event.params[1];
|
var comicId = event.params[1];
|
||||||
|
|
||||||
if(comicId == "*"){
|
if(comicId == "*"){
|
||||||
request("http://xkcd.com/info.0.json", function(error, response, body){
|
request("http://xkcd.com/info.0.json", function(error, response, body){
|
||||||
if (response.statusCode == "200") {
|
if (response.statusCode == "200") {
|
||||||
|
Loading…
Reference in New Issue
Block a user