Recordkeeper banner

Recordkeeper

5 devlogs
17h 21m 53s

Updated Project: I updated the bot with more things to track, such as user deactivation and reactivation, started outputting the user groups being added and removed to #hc-activity-logs, started tracking file events, and make some changes to ensur…

Updated Project: I updated the bot with more things to track, such as user deactivation and reactivation, started outputting the user groups being added and removed to #hc-activity-logs, started tracking file events, and make some changes to ensure that the bot is stable and minimize the amount of pings that the bot sends.
A bot that tracks new bots, new channels that are made (as well as archived, deleted, unarchived, and renamed), emojis added, renamed, and deleted, users deactivated and reactivated, and more, displays them publicly at #hc-activity-logs on the Hack Club Slack!

This project uses AI

Used Github Copilot for some debugging and to do some repetitive tasks (like deleting a certain block of code over and over). Core logic and most of the coding done by human.

Demo Repository

Loading README...

Shadowlight

Shipped this project!

Hours: 17.36
Cookies: 🍪 114
Multiplier: 6.57 cookies/hr

I built a bot that keeps track of important events in the Hack Club Slack! It was super hard figuring out how the Slack API works, its quirks, and the times where a certain event wasn’t documented properly were terrible! But it was super fun, and now the bot is in a pretty good state. Join #hc-activity-logs to see it in action!

Shadowlight

I separated the pings of Snooperknightdev (a dev channel for Recordkeeper) to a separate channel to make that channel better to be in. I completely removed the mention of any user profile fields in #hc-activity-logs and added some code to ensure the bot is stable.

Attachment
0
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 about 2 months 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