Skip to content

CollabStars/Starbot

Repository files navigation

Collab Stars! — StarBot ⭐

Languages

License: MIT Node.js Version Platform Status

Note

This project base can be generated using the Constant CLI.
Full documentation available at: https://constatic-docs.vercel.app/docs/discord/start

Warning

Required Node.js version: 20.12 or higher


📌 Table of Contents


🎯 Project Objective

Collab Stars is the most complete Discord bot boilerplate available — built with TypeScript and designed for performance, scalability, and collaborative development.

It was created to:

  • Provide a scalable and extensible base for Discord bots.
  • Simplify bot development using modular, typed, and documented code.
  • Integrate seamlessly with the tools and workflows developed by the Collab Stars organization.

🧰 Technologies


🏗️ Architecture

This project uses a clean, layered architecture inspired by modern backend practices:

  • ⚙️ Command System
    Slash commands are defined modularly and auto-registered on startup.

  • 🎙️ Event Layer
    All event listeners (e.g., messageCreate, interactionCreate) are handled independently.

  • 📡 Responders System
    Custom message responders allow dynamic reactions to specific content.

  • 📁 Structured Filesystem
    Organized with clear folders: commands/, events/, responders/, utils/, etc.


⚙️ Usage Instructions

1. Clone the repository:

git clone https://github.com/seu-usuario/collab-stars.git
cd collab-stars

2. Install dependencies:

npm install

3. Configure environment:

Create a .env file with your bot token and other settings:

DISCORD_TOKEN=your_token_here
CLIENT_ID=your_bot_client_id
GUILD_ID=optional_dev_guild_id

4. Run the bot:

npm run dev

🔧 Available Scripts

Command Description
dev Run bot in development mode (ts-node)
build Build the TypeScript project
watch Rebuild automatically on file change
start Run the compiled project

📦 Features & Structures

Explore each module in the official documentation:

You can extend any of these systems using TypeScript interfaces and classes to fit your bot's goals.


⚠️ Requirements & Limitations

  • ✅ Requires Node.js v20.12 or higher
  • 🔐 Bot token must be kept private and loaded via .env
  • 🧪 This is a base project — not production-ready without adjustments

🤝 Contribution Guidelines

We welcome contributions that improve structure, performance, and clarity.
Before contributing, please read the full contribution guide.

To contribute:

  1. Fork this repository.
  2. Create a feature branch (git checkout -b feat/new-feature).
  3. Commit and push your changes.
  4. Open a pull request with a clear description.

📄 License

This project is licensed under the MIT License.
See the LICENSE file for more details.

📬 Contact




🧠 This project is maintained by @francisc0arauj0, @gontroller, @svyc, and @Vyzer9 under the Collab Stars organization.
Designed to boost productivity, code quality, and community collaboration.

image

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •