Skip to content

dashxboard/dashxboard-bot

Repository files navigation

Dashxboard — @dashxboard/bot

From ideas to actions. The unofficial platform designed for the Stronghold (SHx) community.

WebsiteDiscordGitHub

Overview

@dashxboard/bot is the Discord bot that handles interactions between users and proposals for the Dashxboard platform. Its features include:

  • Proposal Management: Automated handling of forum threads with support for creation, locking, and concluding proposals.
  • Reputation System: Points-based system that rewards community participation.
  • Vouching System: Allows users to temporarily sponsor others.
  • Community and Moderation Commands: Offers commands for community engagement and moderation, like upvoting, checking points, reporting issues, and more.
  • Privacy Control: Respects user privacy with opt-out options for public display of Discord information.

Getting Started

Prerequisites

  • Node.js 18 or higher.
  • GitHub PAT with read: packages scope.
  • PostgreSQL database.
  • Discord Bot Token and Application ID (see Discord Developers Documentation).
  • Environment variables (see .env.example).

Installation

  1. Clone the repository:
git clone https://github.com/dashxboard/dashxboard-bot.git
  1. Install dependencies:
cd dashxboard-bot

npm install
  1. Set up environment variables:
cp .env
# Fill in your environment variables

Scripts

  • npm run build — Compiles the package.
  • npm run dev — Runs the bot in development mode.
  • npm run register — Register commands with Discord.
  • npm run dev:register — Watch command registration changes in development mode.

Contributing

Dashxboard is open-source, and contributions are welcome! You can help by:

  • Submitting pull requests (for minor changes.)
  • Reporting bugs or suggesting features (for major changes).
  • Enhancing the documentation.
  • Engaging with the community on Discord.

License

This project is licensed under the MIT license.

About

@dashxboard/bot — Discord bot for the Dashxboard platform.

Resources

License

Stars

Watchers

Forks

Packages

No packages published