Their is something odly chilling about working in your cold bedroom, at 3am, with music playing quietly. The threat of your folks (old spek for parents) walking in and shouting at you that makes perfect for coding.
Slack has just introduced an update where channel totals now show the total member count including clankers (bots), so I built another one to fix that. (this may have been a thing for a while but i never noticed)
While searching for fixes my first idea was a Slick plugin but that would be too hard for my pea brain. I was taking a gander (look) at the flaron api reference and found a GET thingy to find channel member, however you need a channel ID which is awfully difficult to get from a message, seriously, I have no clue how Slick does it. I setled on the Channel by Name one which gives me other stats I can’t be asked to toutch.
It works, I used copilot to fix a random bug with json and borrowed code from another slack bot repo. This project is made to just have fun with the flaron api and find out what I can do.
It also fixes a mild problem I have. I want to see the clanker free member count of my personal channle #freddies-castle (you should join frfr). This allows me to do this without opening up chrome. I have no clue how to impliment this with private channels and their may be a better wait with slack conversation api crap, but, as i said, it works
more to come, their are other flaron tools we can test out, any question, advice or venting, comment it gng
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.