GithubHelp home page GithubHelp logo

rotkbot's People

rotkbot's Issues

App crash

App crashed on ZEIT, AFAIK nobody ran any commands at that time so not exactly sure what happened, I need to double check that the bot is available only in that one Discord channel. Here's the log:

11/07 06:21 PM (3h)
[11/8/2018, 02:21:09] Updating file ./data/participants.json... done
11/07 06:58 PM (2h)
/home/nowuser/src/rotk.js:192
11/07 06:58 PM (2h)
  let sender = bot.users[userID].username;
11/07 06:58 PM (2h)
                                 ^
11/07 06:58 PM (2h)
11/07 06:58 PM (2h)
TypeError: Cannot read property 'username' of undefined
11/07 06:58 PM (2h)
    at DiscordClient.<anonymous> (/home/nowuser/src/rotk.js:192:34)
11/07 06:58 PM (2h)
    at emitMany (events.js:147:13)
11/07 06:58 PM (2h)
    at DiscordClient.emit (events.js:224:7)
11/07 06:58 PM (2h)
    at DiscordClient.handleWSMessage (/home/nowuser/src/node_modules/discord.io/lib/index.js:1848:11)
11/07 06:58 PM (2h)
    at emitTwo (events.js:126:13)
11/07 06:58 PM (2h)
    at WebSocket.emit (events.js:214:7)
11/07 06:58 PM (2h)
    at Receiver.ontext (/home/nowuser/src/node_modules/ws/lib/WebSocket.js:841:10)
11/07 06:58 PM (2h)
    at /home/nowuser/src/node_modules/ws/lib/Receiver.js:536:18
11/07 06:58 PM (2h)
    at Receiver.applyExtensions (/home/nowuser/src/node_modules/ws/lib/Receiver.js:371:5)
11/07 06:58 PM (2h)
    at /home/nowuser/src/node_modules/ws/lib/Receiver.js:508:14
11/07 06:58 PM (2h)
npm ERR! code ELIFECYCLE
11/07 06:58 PM (2h)
npm ERR! errno 1
11/07 06:58 PM (2h)
npm ERR! [email protected] start: `node rotk.js`
11/07 06:58 PM (2h)
npm ERR! Exit status 1
11/07 06:58 PM (2h)
npm ERR! 
11/07 06:58 PM (2h)
npm ERR! Failed at the [email protected] start script.
11/07 06:58 PM (2h)
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
11/07 06:58 PM (2h)
11/07 06:58 PM (2h)
npm ERR! A complete log of this run can be found in:
11/07 06:58 PM (2h)
npm ERR!     /home/nowuser/.npm/_logs/2018-11-08T02_58_54_334Z-debug.log
11/07 06:58 PM (2h)
npm start
11/07 06:58 PM (2h)
11/07 06:58 PM (2h)
> [email protected] start /home/nowuser/src
11/07 06:58 PM (2h)
> node rotk.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.