Code Monkey home page Code Monkey logo

twitterbotcovidstatus's Introduction

Rander

Linkedin Badge Gmail Badge

twitterbotcovidstatus's People

Contributors

dfcamposs avatar lucascruz96 avatar marcosbaesse avatar randerthe avatar vinidf avatar

Stargazers

 avatar

Watchers

 avatar

twitterbotcovidstatus's Issues

Bug: Quando se faz uma nova pergunta à resposta do bot, lança exceção

Conforme o twitt a seguir: https://twitter.com/marcosbaesse/status/1316506402928709634?s=20

O bot não consegue responder à pergunta realizada.

No console da aplicação é lançado o seguinte erro:

@BOTCovidStatus #CovidNaMinhaCidade Rio de Janeiro
TypeError: Cannot read property 'confirmed' of undefined
    at findCasesByCity (C:\marcosbaesse\github\TwitterBotCovidStatus\bot.js:22:55)   
    at Parser.<anonymous> (C:\marcosbaesse\github\TwitterBotCovidStatus\bot.js:45:22)
    at Parser.emit (events.js:315:20)
    at Parser.receive (C:\marcosbaesse\github\TwitterBotCovidStatus\node_modules\twitter\lib\parser.js:58:16)
    at IncomingMessage.<anonymous> (C:\marcosbaesse\github\TwitterBotCovidStatus\node_modules\twitter\lib\twitter.js:284:14)
    at IncomingMessage.emit (events.js:327:22)
    at addChunk (_stream_readable.js:297:12)
    at readableAddChunk (_stream_readable.js:273:9)
    at IncomingMessage.Readable.push (_stream_readable.js:214:10)
    at HTTPParser.parserOnBody (_http_common.js:129:24) {
  source: {
    created_at: 'Wed Oct 14 22:29:20 +0000 2020',
    id: 1316506402928709600,
    id_str: '1316506402928709634',
    text: '@BOTCovidStatus #CovidNaMinhaCidade Rio de Janeiro',
    display_text_range: [ 16, 50 ],
    source: '<a href="https://mobile.twitter.com" rel="nofollow">Twitter Web App</a>',
    truncated: false,
    in_reply_to_status_id: 1316506302231838700,
    in_reply_to_status_id_str: '1316506302231838725',
    in_reply_to_user_id: 1277303145270595600,
    in_reply_to_user_id_str: '1277303145270595589',
    in_reply_to_screen_name: 'BOTCovidStatus',
    user: {...
    },
    geo: null,
    coordinates: null,
    place: null,
    contributors: null,
    is_quote_status: false,
    quote_count: 0,
    reply_count: 0,
    retweet_count: 0,
    favorite_count: 0,
    entities: {
      hashtags: [Array],
      urls: [],
      user_mentions: [Array],
      symbols: []
    },
    favorited: false,
    retweeted: false,
    filter_level: 'low',
    lang: 'pt',
    timestamp_ms: '1602714560621'
  }
}

Adicionar Instruções sobre o projeto

Melhorar ou adicionar os seguintes arquivos:

  • README.md
  • CONTRIBUTING.md
  • LICENSE.md

Listas que podem ajudar a configurar esses arquivos:

  • (Awesome README)[https://github.com/matiassingers/awesome-readme]

Corrigir Dependências

Identifiquei os seguintes problemas no package.json do projeto:

  • Necessário rodar npm audit fix no projeto
  • Necessário remover dependências que não são utilizadas, como angular

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.