darkaqua / darkbot

Darkaqua/Darkbot: Same thing, better code.
MIT License
5 stars 3 forks source link

Error al mencionar una issue de darkbot #18

Closed pagoru closed 7 years ago

pagoru commented 7 years ago

Error

/home/darkbot/1.0.0/bot/issueMention.js:22
                embed.setAuthor(issue["user"]["login"], issue["user"]["avatar_url"], issue["user"]["html_url"])
                                             ^

TypeError: Cannot read property 'login' of undefined
    at IncomingMessage.res.on (/home/darkbot/1.0.0/bot/issueMention.js:22:46)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)