Skip to content

Feat: Anon reply Bot DM - #66#76

Open
achyu-dev wants to merge 6 commits intopesu-dev:devfrom
achyu-dev:dmanon
Open

Feat: Anon reply Bot DM - #66#76
achyu-dev wants to merge 6 commits intopesu-dev:devfrom
achyu-dev:dmanon

Conversation

@achyu-dev
Copy link

📌 Description

Summarize what this PR does:

  • This PR adds a new feature, where in, if any user replies to an anon message, a DM is sent by the bot to the user who sent the anon message, quoting that a reply has been given to their anon message
  • Notifies users of anon message replies

ℹ️ Fixes / Related Issues
Fixes: #66


🧱 Type of Change

  • 🐛 Bug fix – Non-breaking fix for a functional/logic error
  • ✨ New feature – Adds functionality without breaking existing commands or APIs
  • ⚠️ Breaking change – Backward-incompatible change (commands, bot behavior, etc.)
  • 📝 Documentation update – README, comments, help text, etc.
  • 🧪 Test suite change – Adds/updates unit, integration, or manual tests
  • ⚙️ CI/CD pipeline update – GitHub Actions, Docker, pre-commit, etc.
  • 🧹 Refactor – Code cleanup, improvements, or style changes
  • 🐢 Performance improvement – Faster command responses or reduced resource use
  • 🕵️ Logging/debugging – Improved diagnostics, logs, or debug output
  • 🔧 Tooling – Scripts, benchmarks, or local dev improvements
  • 🔒 Security fix – Permissions, validation, or Discord API-related vulnerabilities
  • 🧰 Dependency update – Library or package updates

🧪 How Has This Been Tested?

  • Unit Tests (tests/unit/)
  • Integration Tests (tests/integration/)
  • Manual testing in Discord
  • CI / pre-commit run

Test Environment:

  • OS: Windows 11
  • Python: 3.13
  • Discord.py version: 2.6.1

✅ Checklist

  • My code follows repo CONTRIBUTING.md guidelines
  • Self-review completed
  • Added/updated comments and docstrings
  • Updated relevant docs (README, help text, etc.)
  • No new warnings or errors introduced
  • Added/updated tests
  • All tests pass locally
  • Ran linting and formatting (pre-commit run --all-files)
  • Docker image builds and runs
  • Did not change config.json (unless with explicit permission)
  • Changes are backwards compatible (if applicable)
  • Feature flags or .env vars updated (if applicable)
  • Tested in multiple environments (if applicable)

🛠️ Affected Bot Areas

  • Commands (e.g., /ping, /help)
  • Event handling (on_message, on_ready, etc.)
  • Permissions/roles
  • Database/Storage
  • Discord API/Integrations
  • Bot startup/shutdown
  • CI / pre-commit
  • Dockerfile / build
  • Dependencies (requirements.txt)
  • Tooling/scripts
  • Other (specify in Additional Notes)

📸 Screenshots / Demos (if applicable)

image image Screenshot 2025-09-05 213024 Screenshot 2025-09-05 210005

🧠 Additional Notes

Copilot AI review requested due to automatic review settings September 25, 2025 19:12
@achyu-dev achyu-dev requested a review from a team as a code owner September 25, 2025 19:12
@achyu-dev achyu-dev changed the title updated with latest githooks etc Feat: Anon reply Bot DM - #66 Sep 25, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a notification system for anonymous message replies, allowing users who send anonymous messages to receive DMs when someone replies to their message. The feature includes subscription management for users to opt in/out of notifications.

  • Adds reply detection for anonymous messages with notification DMs to original senders
  • Implements notification subscription toggle functionality via interactive buttons
  • Refactors message deletion handling to support both anon reply tracking and existing ghost ping detection

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@achyu-dev achyu-dev requested a review from Copilot September 29, 2025 12:49
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 5 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@achyu-dev achyu-dev requested a review from Copilot September 29, 2025 13:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

Anon reply notification

1 participant