Git Product home page Git Product logo

pagkibot's Introduction

meow

pagkibot's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

takiios

pagkibot's Issues

Twitch PubSub replacement

Can we use another API instead of Twitch PubSub? If we do, can we remove the 500 followers limit?

it crashes when a user goes live

Hello there

Down below is what it gives in terminal when a user goes live how can we fix this issue?

/index.js:942
apiClient.kraken.channels.getChannel(id).then(_data => {
^

ReferenceError: id is not defined
at incomingPubSub (/Whitebots/Stream-Notify/pagkibot/index.js:942:50)
at WebSocket. (/Whitebots/Stream-Notify/pagkibot/index.js:90:9)
at WebSocket.emit (events.js:315:20)
at Receiver.receiverOnMessage (/Whitebots/Stream-Notify/pagkibot/node_modules/ws/lib/websocket.js:970:20)
at Receiver.emit (events.js:315:20)
at Receiver.dataMessage (/Whitebots/Stream-Notify/pagkibot/node_modules/ws/lib/receiver.js:517:14)
at Receiver.getData (/Whitebots/Stream-Notify/pagkibot/node_modules/ws/lib/receiver.js:435:17)
at Receiver.startLoop (/Whitebots/Stream-Notify/pagkibot/node_modules/ws/lib/receiver.js:143:22)
at Receiver._write (/Whitebots/Stream-Notify/pagkibot/node_modules/ws/lib/receiver.js:78:10)
at writeOrBuffer (internal/streams/writable.js:358:12)

Reimplement tracking of shortly ended streams properly

In the past there was a feature that prevented posting a new message on streams that recently ended. This prevented message spams on streams from unstable connections. Unfortunately this could also in some circumstances prevent a legitimate message from being posted. To reimplement this properly I will have to track past streams which might also be useful for other stuff.

Add "<username> is streaming" prefix

"<username> is streaming" should be prefixed for every notification message so users on mobile can see who is streaming properly in their push notifications

Only !twitch-tracking Working

So I installed everything and I ran !twitch-track once and it responded, then I ran it again with a different username and no response. The only command that works now is !twitch-tracking.

My systemctl shows pm2 running and active, it's set to startup too. And when I check the status it says online. I'm running this from a Raspberry Pi 4 with the standard Raspberry OS (I think that's debian flavor).

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.