Skip to content
This repository was archived by the owner on Oct 18, 2026. It is now read-only.

Releases

v0.5.0

Choose a tag to compare

@ranveerminhas0 ranveerminhas0 released this 19 Feb 12:29
508cbba

v0.5.0 Release Notes

40 files changed, 5,281 insertions(+), 82 deletions(-)
Since v0.4.0 (Feb 7, 2026)


AI-Powered Challenge Review System

The headline feature of this release. When users submit code in challenge threads, the bot now reviews it automatically using a local LLM (Ollama/llama3:8b).

  • Detects 16+ programming languages from fenced code blocks (JavaScript, Python, TypeScript, C++, Rust, Go, Java, Ruby, C#, Kotlin, Swift, PHP, and more)
  • AI reviews submissions for logical correctness against reference solutions, regardless of language differences
  • 3-attempt limit per challenge per user with decreasing point rewards (100/60/30)
  • Gamification system with points, streaks, and penalties for total failure
  • Async review queue with semaphore-based concurrency (max 5 concurrent AI calls)
  • Circuit breaker pattern: pauses AI calls after 5 consecutive failures for 60s cooldown
  • Exponential backoff with 2 retry attempts on AI failures
  • Offline catch-up scanner: re-processes missed submissions on bot restart
  • Audit log channel for all review outcomes
  • In-process metrics with periodic logging (latency, failure rate, confidence scores)
  • 36 challenges (12 per difficulty) with complete reference solutions

New files: reviewer.ts, queue.ts, metrics.ts, gamification.ts, scanner.ts


QOTD System

  • Automated Question of the Day posting system added
  • Uses external trivia API with configurable scheduling
  • Refined mention command and data handling (#12)

Kick Command

  • /kick with genuine kick and threat warning (24-hour auto-kick) flows
  • DM notification to kicked users with V2 container messages
  • Admin-only stop button for threat warnings
/kick

Music Player Improvements

  • Added inactivity timer: bot auto-leaves voice channel after 5 minutes of idle queue
  • Refined audio pipeline and model selection
  • Auto-queue improvements for loading subsequent songs

Security and Infrastructure

  • Rate limiting middleware added (rate-limit.ts)
  • SECURITY.md with architecture diagram
  • CodeQL source code analysis workflow (.github/workflows/codeql.yml)
  • npm audit workflow (.github/workflows/audit.yml)
  • CI test workflow with type checking and build verification (.github/workflows/test.yml)
  • AI system prompt hardened to prevent injection
  • Prompt/system message strict separation enforced

Testing

  • Vitest test framework configured (vitest.config.ts)
  • 78 challenge review tests covering: language detection, thread matching, metrics, queue behavior, data integrity, gamification, review decisions, circuit breaker, and attempt limiting
  • Bot command tests: kick command, wish command, scan cooldown, AI prompt safety
  • QOTD test suite
  • Security and route test suites
  • Storage test suite

Documentation and Community

  • README.md created with project overview and banner
  • CONTRIBUTING.md with issue-first PR requirement
  • GitHub issue templates (bug report, feature request)
  • Pull request template
  • .env.example updated with all required keys

Bug Fixes

  • Fixed weather forecast edge cases
  • Fixed giveaway post logic for new server setups
  • Fixed banner image rendering
  • Minor stability and consistency fixes across codebase

v0.4.0

Choose a tag to compare

@ranveerminhas0 ranveerminhas0 released this 07 Feb 14:19

This release focuses on stability improvements, database reliability, and the introduction of new moderation and utility commands.

Stability and Bug Fixes

• Refined internal code structure and overall reliability
• Fixed giveaway posting issues after new server setup
• Improved database consistency and persistence handling
• Resolved multiple edge-case bugs across onboarding and giveaways

New Moderation Command

• /warnuser
Sends a private warning message to a user via direct message.
Supports both custom messages and predefined warning types including:
spam, language violations, harassment, advertising, kickout warnings, and general rule violations.

New Utility Commands

• /wish
Sends a contextual message mentioning a user for a selected occasion.
Supported occasions include exams, interviews, new jobs, weddings, birthdays, anniversaries, graduations, promotions, and more.
Messages rotate per occasion to avoid repetition on repeated use.

• /weather
Provides detailed weather information for a specified location, including conditions, visibility, and air quality.
Uses Google geocoding to handle inaccurate or misspelled location names.
Weather data is fetched from Tomorrow.io, with AQI data provided by IQAir.

v0.3.1

Choose a tag to compare

@ranveerminhas0 ranveerminhas0 released this 03 Feb 02:00

This release adds emoji and sticker steal/import functionality.

Emoji Import

• /stealemojis
Accepts emojis provided in the command input and presents a confirmation step before upload.
When upload is confirmed, the selected emojis are added to the current server.

• /stealreactions
Fetches all reaction emojis from a specified message and allows importing them into the current server.

Sticker Import

• /stealsticker
Retrieves a sticker from a specified message using its message ID and allows uploading it to the current server.
Supports all sticker formats (PNG, APNG, and GIF).

v0.3.0

Choose a tag to compare

@ranveerminhas0 ranveerminhas0 released this 02 Feb 19:29

Breaking Change

This update replaces the previous single-server–oriented configuration model.
Existing servers must complete the new setup flow after updating.

New Multi-Server Support

• Full per-server (per-guild) configuration
• Isolated persistence for users, roles, and channels

Guided Setup Command

A new /setup command is required after inviting the bot.

During setup, administrators configure:

• Introduction channel
• Unverified role (assigned on join)
• Verified role (assigned after successful introduction)
• Giveaway channel
• Moderation toggle (enable or disable onboarding and verification logic)
• Giveaway toggle (enable or disable giveaway posting)
• Introduction timeout (default: 300 seconds)

If moderation is disabled, onboarding and verification logic will not run.

Onboarding & Verification Flow

• New members receive the unverified role on join
• Members must post an introduction within the configured timeout
• Failure to do so triggers a public warning mentioning the user
• Successful introduction removes the unverified role and assigns the verified role

Giveaway System Improvements

• Giveaway tracking is now server-specific
• Added support for GOG giveaways
• Supported platforms now include:
– Epic Games Store
– Steam
– GOG

A public website is now available at https://nxtgenservices.online/ with general information and documentation.

v0.2.0

Choose a tag to compare

@ranveerminhas0 ranveerminhas0 released this 30 Jan 20:55

Core Changes

  • Refined and cleaned up the overall codebase
  • Major Reafctor For Music system

Music System

  • /play <song name>
    Bot joins the voice channel and starts playing the requested track
  • Queue support with automatic sequential playback
  • /queue command to view:
    • Total number of queued songs
    • Current song position
  • /skip command to skip the currently playing track
  • /stop command to disconnect the bot and end the session

Player UI Controls

  • Interactive player UI with buttons:
    • Pause / Resume
    • Skip
    • End Session
  • No additional commands required for playback control
  • Real-time UI updates based on player state

Admin Controls

  • !mlock
    Locks player controls and music commands to admins only
  • !munlock
    Restores access to all users
  • When locked:
    • Player buttons are disabled for non-admin users
    • Skip and stop commands are restricted

Music History (PostgreSQL)

  • Persistent storage of recently played tracks
  • !mhistory command:
    • Shows last 10 played songs
    • Allows selecting:
      • A single song
      • Multiple songs
      • All songs
    • Selected tracks are added back to the queue and played

Notes

  • You can now use it in any server.

v0.1.0

Choose a tag to compare

@ranveerminhas0 ranveerminhas0 released this 27 Jan 14:20
c24706c

Features :

Onboarding & Verification

  • Automatic unverified role assignment on user join
  • Introduction requirement enforced within 5 minutes of joining
  • Public warning issued if introduction is not posted in time
  • Manual rescan command to verify existing introductions

User Status & Tracking

  • /status command showing:
    • Introduction verification state
    • Join timestamp
    • Linked introduction message
  • Persistent user tracking using PostgreSQL

AI Assistance

  • /aihelp command powered by a locally hosted LLaMA 3 (8B) model
  • Server members can query the AI for programming help and general questions.

Administration Tools

  • /admhelp command for administrators to:
    • Mention a specific user
    • Send a custom message to a selected channel via the bot
  • Admin-only /scan command to:
    • Scan the introduction channel
    • Update user verification status in the database

Bot & System Info

  • Bot uptime and activity status reporting
  • Internal metrics available via slash commands

Notes:

Not intended for production use outside the Next Gen Programmers server till v0.2.0