Frictionless
- 1 Devlogs
- 5 Total hours
Pingy
Pingy
So for a very long, I hated @at-channel. Cause no.1 The pfp of it in the notifications was weird No.2 It broke intermittently and No.3 It did not support markdown, so I started researching upon how did it work and found out a simple slack bug, when you send “@channel” or “@here” as a bot with a username and in a markdown block, it somehow becomes a ping. The special part(cause slack is weird AF) is that this does not work or user tokens(only @here does, @channel works like @here), but still, since only admins are able to use those pings, I decided to try this bug anyways. So here is what I did, Exploiting Slack’s OAuth User token, I sent user a login link and stored their token in db. Now using commands like /channelpingy or /herepingy you can channel ping or here ping (and as a plus point, if you don’t want the ping to appear on start, place it anywhere in your text message and pingy places the ping there). The benifit of this is it does not have ugly “app” besides your name. Also you can do /realpingy instead of channelpingy cause channelpingy is kinda messy cause of slack and with realpingy it adds back the “app” besides your name, but keeps other features AND pings everyone fully :) NOTE: You must be a channel manager or a channel creator for public and private channels respectively