You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 31m 51s logged

Sieving through all channels would have taken hours. Now I am only using 10, which are the most used ones on the Hackclub workspace.
So I wrote a code that scans these 10 channels for messages of a specific user, which I want to use for a loyalty score in the future. But the problem isn’t completely solved, because the script needs around 50 seconds to look through these 10 channels.
So now I am in a bit of a pickle.
I am thinking about saving the data from the last scan and then only retrieving new data from the channels.

0
2

Comments 0

No comments yet. Be the first!