Skip to content

Back up#82

Open
NHStarlight wants to merge 97 commits into
codebymitch:mainfrom
NHStarlight:Back-up
Open

Back up#82
NHStarlight wants to merge 97 commits into
codebymitch:mainfrom
NHStarlight:Back-up

Conversation

@NHStarlight
Copy link
Copy Markdown

No description provided.

Updated error handling and logic for moderation cases retrieval.
Refactor error handling and user feedback in moderation cases command.
Refactor moderation event logging and case retrieval functions for improved readability and efficiency.
Updated comments for clarity and changed notification method to ephemeral.
Refactor messageCreate event to handle prefix commands and leveling logic.
Removed handleLeveling import and its usage to prevent errors.
NHStarlight and others added 29 commits May 26, 2026 12:14
Updated comments to provide clearer guidance in Vietnamese and refactored pagination logic for button creation.
Modify src/config/postgres.js to prioritize environment variables like `DATABASE_URL`, `PGHOST`, `PGPORT`, `PGDATABASE`, `PGUSER`, and `PGPASSWORD` for PostgreSQL connection settings, including SSL configuration when applicable.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d4f2b168-e09e-43fc-a7b4-00bc519a6768
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: baacfdfe-4384-406d-8932-56f17e67bff4
Replit-Helium-Checkpoint-Created: true
Replace console logs with a structured logger, fix database query issues, handle potential errors in JSON parsing and API responses, update permission flag usage, and ensure commands are properly checked before execution.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d4f2b168-e09e-43fc-a7b4-00bc519a6768
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 2b9cf294-4dcd-4ba1-8f05-69b1b8ca8eb1
Replit-Helium-Checkpoint-Created: true
Implement a robust fake interaction object for prefix commands and correct prefix detection logic in moderation commands.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d4f2b168-e09e-43fc-a7b4-00bc519a6768
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: f65c0055-07da-4287-983d-c160ceb13506
Replit-Helium-Checkpoint-Created: true
…rk together

Refactor messageCreate.js to create a fake interaction object for prefix commands, and update purge.js to correctly handle integer arguments, ensuring both command types function seamlessly.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d4f2b168-e09e-43fc-a7b4-00bc519a6768
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 66d5d1a2-9889-4d6f-9651-a53e69ae39f6
Replit-Helium-Checkpoint-Created: true
Addresses issues in timeout, purge, quarantine setup, warnings, warn, ban, and kick commands. Enhances argument parsing, duration handling, role positioning, error reporting, and message deletion capabilities.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d4f2b168-e09e-43fc-a7b4-00bc519a6768
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 774438d8-5dc9-473f-8e54-372a3cb08ed6
Replit-Helium-Checkpoint-Created: true
…evention

Integrate a new PostgreSQL table and service for logging all moderation actions (bans, kicks, timeouts, warns), add a command to view user history, and implement evasion detection in the guild member add event to automatically re-apply timeouts and alert moderators about returning users.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: d4f2b168-e09e-43fc-a7b4-00bc519a6768
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: bf0c35d4-e7da-48ff-9702-26152e4f8658
Replit-Helium-Checkpoint-Created: true
@NHStarlight NHStarlight requested a review from codebymitch as a code owner May 27, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant