Skip to content

Releases: semi-constructor/pegasus

Release list

stable-v1.0

Choose a tag to compare

@semi-constructor semi-constructor released this 27 Aug 06:18

Pegasus v1.0.0 - Stable Release

Release Date: August 27, 2025
Repository: [github.com/cptcr/pegasus](https://github.com/cptcr/pegasus)
Support Server: [discord.gg/vaultscope](https://discord.gg/vaultscope)


🎉 Introduction

We're thrilled to announce the stable release of Pegasus v1.0.0 - the official Discord bot of Hinkos Discord! After months of development and testing, Pegasus is now ready for production use with a comprehensive feature set designed to enhance your Discord server experience.

✨ Key Features

🛡️ Advanced Moderation System

  • Warning Management: Create, edit, and track warnings with detailed logging
  • Automated Actions: Set up automation rules based on warning thresholds
  • Multi-Action Support: Ban, kick, timeout with comprehensive reason tracking
  • Audit Logging: Complete action history with user tracking capabilities
  • Permission Hierarchy: Role-based command access control

💰 Complete Economy System

  • Virtual Currency: Balance tracking with transaction history
  • 5 Gambling Games: Dice, Coinflip, Slots, Blackjack, and Roulette
  • Shop System: Buy/sell items with inventory management
  • Work & Rob: Earn money with cooldowns and protection items
  • Daily Rewards: Streak bonuses for consecutive claims

🎁 Advanced Giveaway System

  • Multiple Entry Methods: Bonus entries for roles and server boosters
  • Requirements System: Role, level, or time-based entry requirements
  • Live Timer Updates: Real-time countdown displays
  • Automatic Winner Selection: Fair, weighted random selection
  • Reroll Capability: Change winners after giveaway completion

🎫 Professional Ticket System

  • Custom Panels: Design support panels with embeds
  • Category Management: Organize tickets by type
  • Ticket Actions: Claim, close, lock, freeze functionality
  • Transcript Generation: Save complete ticket history
  • Statistics Tracking: Monitor support metrics

📊 XP & Leveling System

  • Voice & Text XP: Earn experience through server activity
  • Role Rewards: Automatic role assignment at specific levels
  • Custom Rank Cards: Personalized rank displays
  • Leaderboards: Server-wide rankings
  • Booster Bonuses: Extra XP for server boosters
  • Channel Multipliers: Configure XP rates per channel

🌍 Multi-Language Support

  • 4 Languages: English, German, Spanish, French
  • Per-User Language: Individual language preferences
  • Localized Commands: All command descriptions translated
  • Dynamic Translations: Complete bot response localization

🎮 Fun & Utility Commands

  • Entertainment: Memes, facts, jokes, quotes, and dad jokes
  • User Information: Avatar, banner, userinfo, whois commands
  • Server Tools: Serverinfo, roleinfo, Steam profile integration
  • General Utilities: Help system, ping, statistics

🔧 Technical Specifications

Tech Stack

  • TypeScript 5.0: Type-safe development with strict mode
  • Discord.js v14: Latest Discord API features
  • PostgreSQL 16: Robust relational database
  • Drizzle ORM: Type-safe database queries
  • Zod: Runtime validation and type safety
  • i18next: Internationalization framework
  • Winston: Advanced logging system
  • Node.js 18+: Modern JavaScript runtime

Database Architecture

Automatic table creation includes:

  • User profiles and server configurations
  • Warning records and automation rules
  • Economy balances and transaction history
  • Ticket management and panel configurations
  • Giveaway data and user entries
  • XP tracking and role rewards
  • Complete audit logging

🔒 Security Features

  • Zod Schemas: Runtime validation for all user inputs
  • SQL Injection Prevention: Parameterized queries throughout
  • XSS Protection: Comprehensive input sanitization
  • Rate Limiting: Per-user and global request limits
  • Hierarchical Permissions: Role-based access control
  • Developer Override: Emergency access capabilities
  • Blacklist System: Block malicious users
  • Data Encryption: Sensitive information protection

📦 Installation & Setup

Prerequisites

  • Node.js v18.0.0 or higher
  • PostgreSQL v14 or higher
  • npm v9.0.0 or higher
  • Discord Application with proper permissions

Required Permissions

  • View Channels, Send Messages, Embed Links
  • Attach Files, Manage Messages, Manage Roles
  • Manage Channels, Use External Emojis, Add Reactions
  • Read Message History, Connect, Move Members, Moderate Members

Quick Start

git clone https://github.com/cptcr/pegasus.git
cd pegasus
npm install

Create PostgreSQL database and configure environment variables in .env file.

npm run build
npm start

🚀 Deployment Options

  • VPS Solutions: DigitalOcean, Linode, Vultr
  • Cloud Platforms: AWS EC2, Google Cloud, Azure
  • Managed Services: Railway, Heroku, Render
  • Docker Support: Complete containerization available
  • PM2 Integration: Process management for production

📈 Performance Highlights

  • Scalable Architecture: Built for servers of all sizes
  • Optimized Database: Efficient queries with connection pooling
  • Memory Management: Optimized for long-running processes
  • Error Handling: Comprehensive error recovery
  • Logging System: Detailed operational insights

🤝 Community & Support

Getting Help

Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with proper testing
  4. Submit a pull request with detailed description

Code Standards

  • TypeScript strict mode enabled
  • No production code comments
  • Comprehensive error handling
  • Unit tests for new features

📄 License

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

🙏 Acknowledgments

Special thanks to:

  • Discord.js team for the excellent library
  • PostgreSQL team for the robust database system
  • All contributors and community members
  • Open source projects that made this possible

🔮 What's Next

We're already working on exciting new features for future releases:

  • Additional