Back up#82
Open
NHStarlight wants to merge 97 commits into
Open
Conversation
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.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.