Giter Club home page Giter Club logo

chicago-e-skate-services's People

Contributors

jacobwaller avatar ringofstorms avatar tnertz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tnertz

chicago-e-skate-services's Issues

Add a group ride announcement

Either have a timed announcement or a command for an announcement for certain admins.

  1. trigger (Either admin command or timed)
  2. Post group ride in Chicago Eskate
  3. Post RSVP poll to Chicago Eskate: "Do you plan on coming to the ride today?" "Yes" "Maybe" "No"
  4. Forward 2 & 3 to:
    Chicago Onewheel
    Chicago EUC
    Chicago E-Bikes
    Chicago E-Scooters
    (Am I missing anyone @tnertz ?)

add rate limiting

Make it so the bot cant get the same command sent to it multiple times in one chat. New people spamming the link or clicking the link over and over

Bot fails ~once per week and requires redeploy

For some reason, the bot fails with an ECONNRESET about once per week. Leaving this in the logs:

FetchError: request to https://api.telegram.org/bot618057292:[REDACTED]/setWebhook failed, reason: read ECONNRESET at ClientRequest.<anonymous> (/workspace/node_modules/node-fetch/lib/index.js:1461:11) at ClientRequest.emit (events.js:314:20) at ClientRequest.EventEmitter.emit (domain.js:483:12) at TLSSocket.socketErrorListener (_http_client.js:427:9) at TLSSocket.emit (events.js:314:20) at TLSSocket.EventEmitter.emit (domain.js:483:12) at emitErrorNT (internal/streams/destroy.js:92:8) at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) at processTicksAndRejections (internal/process/task_queues.js:84:21)
FetchError: request to https://api.telegram.org/bot618057292:[REDACTED]/setWebhook failed, reason: read ECONNRESET at ClientRequest.<anonymous> (/workspace/node_modules/node-fetch/lib/index.js:1461:11) at ClientRequest.emit (events.js:314:20) at ClientRequest.EventEmitter.emit (domain.js:483:12) at TLSSocket.socketErrorListener (_http_client.js:427:9) at TLSSocket.emit (events.js:314:20) at TLSSocket.EventEmitter.emit (domain.js:483:12) at emitErrorNT (internal/streams/destroy.js:92:8) at emitErrorAndCloseNT (internal/streams/destroy.js:60:3) at processTicksAndRejections (internal/process/task_queues.js:84:21)

Not sure if this is because of unhandled things on my end, or if telegraf itself is bugged. Requires more investigation.

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.