Skip to content

KavyanshKhaitan2/construct-watcher-slackbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0e7405e · · Feb 22, 2026

History

18 Commits
Feb 12, 2026
Feb 13, 2026
Feb 12, 2026
Feb 9, 2026
Feb 9, 2026
Feb 22, 2026
Feb 10, 2026
Feb 22, 2026
Feb 22, 2026
Feb 13, 2026
Feb 13, 2026
Feb 22, 2026
Feb 13, 2026
Feb 9, 2026
Feb 22, 2026
Feb 17, 2026
Feb 13, 2026
Feb 9, 2026
Feb 10, 2026

Repository files navigation

Construct Watcher Slackbot

Overview

This is a Slack bot built for #construct hack clubbers.

How do I use it?

Currently, I have two (but extensive) commands.

/construct-time [goal in clay]

This command lets you know how far you are from your goal! It also shows a daily required time you will have to spend CADding. (the goal field is optional, the value you put in it gets stored in the SQLite DB.) image

/construct-user-info on>

Just mention the user you want to find the info of. This bot will do the rest for you. (just make sure that that user is doing construct.)

If you dont know whom to mention, you can use @kavyansh.tech, @Shadow, @Arca, etc.
image

Note!

Incase this doesnt work and throws a DB error, please DM me (@kavyansh.). I need to run a script that updates the KV pairs for slack user ID and construct user ID.

Running locally

1. Setup environment variables

Go to .env and put these in:

DEBUG=true|false>gt;

# Replace with your tokens
SLACK_BOT_TOKEN==your-bot-token>gt;
SLACK_APP_TOKEN==your-app-level-token>gt;

DEFAULT_CHANNEL=L=slack-channel-id>gt;

2. Setup your local project

# Clone this project onto your machine
git clone https://github.com/slack-samples/bolt-python-getting-started-app.git



# Change into this project

cd bolt-python-getting-started-app/


# Setup virtual environment
python3 -m venv .venv

source .venv/bin/activate


# Install the dependencies
pipx install uv  # just install uv. skip the hassle.

3. Add your construct.hackclub.com cookies

  1. Go to construct.hackclub.com
  2. Open Network tab in the Devtools
  3. Clear logs
  4. Reload Page
  5. Open the initial page load
  6. Search for the cookie header in there and paste them into ./construct_cookie (dont add any extra stuff, no newlines, no nothing!)

3. Start servers

# For prod:
uv run app.py



# For dev:
uv run slack runn

Voila! and just add the bot to your channel lol.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages