Snooper Knight banner

Snooper Knight

4 devlogs
15h 49m 58s

A bot that tracks new users coming into the Slack (although not publicly), new bots, new channels that are made (as well as archived, deleted, unarchived, and renamed), new emojis added (alias added too), emojis renamed and deleted, and displays t…

A bot that tracks new users coming into the Slack (although not publicly), new bots, new channels that are made (as well as archived, deleted, unarchived, and renamed), new emojis added (alias added too), emojis renamed and deleted, and displays them publicly at #hc-activity-logs on the Hack Club Slack!

Demo Repository

Loading README...

Shadowlight

I stopped the tracking of user profile fields (after a tip from Fire Dept), and I added some stability changes and made sure that the id of the channel is viewable for easy access.

Attachment
1

Comments

Trey
Trey 16 days ago

true

Shadowlight

I added user_change events into the bot, so now it also tracks when people change their usernames and real names (although it doesn’t display it publicly), among other fields like status and profile picture. I also shortened the code massively (like from 1100 lines to 500 lines) and cleaned up the code.

Attachment
0
Shadowlight

I migrated my Sqlite3 database over to Turso for persistency and added file events like file_changed and file_created. Now that the bot can listen for file events, it turns out that it can’t access any details of most of the files it detects, which sucks, but it is what it is.

Attachment
0
Shadowlight

Adding on to the previous functionality of tracking events and displaying them in channel, instead of storing the data in Airtable (which caused me to hit API rate limits), I changed the database to use sqlite3 instead, eliminating Airtable completely.

Attachment
0