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

SlackThings

  • 4 Devlogs
  • 3 Total hours

Things I want in Slack using the Flaron API!

Ship #1

I made a simple Slack Bolt application in Python using the Flaron API. It simply runs a request to Flaron when you eneter a sepcific command and parcing the responce so flaron can read it with simple error handeling. It’s a ‘real world’ and usable project that fixes an issue I have with bots showing up in the member count of my personal channel.

Be aware the way flaron gets data with the slack api is slighly oudated but I’m unable to control this.

  • 4 devlogs
  • 3h
Try project → See source code →
Open comments for this post

37m 22s logged

Today I threw (metaphorially) a README.md together and added a licence. It includes all details to run / host this on any machine (in theory) I did this all by hand!

just a note for reviewers, i originally used main.py to write this project but renamed it to app.py as per slacks guidence so if hackatime data look meh than ig this is why 😭

0
0
14
Open comments for this post

41m 44s logged

whoops, i accidently sent before i typed anything

so while coding i was in a huddle where @FreeformWave kept on drawing all over my screen 😭!

I added in /thing where you can get basic bot stats and stuff

I fixed some crap with channel ids and user id’s so it is smoother.

copilot helped with some more regex and splicing in python

finally i made it all look nice

0
0
3
Open comments for this post

47m 1s logged

So I added in /promote to bump up mcg to full members. I have no idea how the official bannana sqaud does it but this works, i think. Also worked on the counting channel stuff. then i minimally used claude to fix some bugs :pf:

0
0
6
Open comments for this post

1h 6m 12s logged

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

0
0
9

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…