About
TOC SlackBot is a lightweight, extensible Slack bot built with Bun, TypeScript, and the Bolt framework. It runs via Socket Mode (no public HTTP endpoint needed) and responds to slash commands in real time — from simple ping/pong checks to external API-powered fun.
Commands
All 28 slash commands, organized by category.
Live Demo
Try the commands right here. Responses are simulated for the showcase.
Quick Start
Get the bot running in your own Slack workspace in under 5 minutes.
# Clone & install
git clone https://github.com/TADSTech/SlackBot.git
cd SlackBot
bun install
# Configure
cp .env.example .env
# Edit .env with your Slack tokens
# Run
bun run index.ts
Technical Details
Runtime
Runs on Bun — a fast all-in-one JavaScript runtime. No Node.js required for development.
Slack Integration
Uses Socket Mode so no public endpoint is needed. Perfect for local or ephemeral deployments.
Type Safety
Written in strict TypeScript with full type checking via tsc --noEmit.
Code Quality
ESLint + Prettier enforce consistent style. Husky pre-push hooks prevent bad commits.
External APIs
Integrates with 7+ free APIs — jokes, facts, quotes, weather, crypto, dogs, cats, and more.
25 Slash Commands
Five categories: Utility, Fun, Knowledge, Media, and Personality. Dynamic responses keep every interaction fresh.