Idk#81
Open
NHStarlight wants to merge 104 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.
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
- Use shared reply/edit for prefix interactions - Parse subcommands and subcommand groups from slash command schema - Register command aliases and default nh! prefix config - Align lock/purge prefix responses with InteractionHelper Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
- Rebrand help to nh_starlightsercurity with full command list from client.commands - Keep category select while paging; fix help pagination target page - English user messages for prefix errors and cooldowns - Prefix massban mentions, sync getMember, alias conflict fixes Co-authored-by: Cursor <cursoragent@cursor.com>
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.