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.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.