Skip to content

Add context menu for notes #3272

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Likhithsai2580
Copy link

Related to #3248

Add context menu commands for adding notes to users and messages.

  • Add NoteModal class to handle note input via a modal.
  • Add add_note_to_user context menu command to add a note to a user.
  • Add add_note_to_message context menu command to add a note to a message.
  • Automatically include the user ID and message link in the modal.
  • Ensure the !note command is still available for more complex notes.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Related to python-discord#3248

Add context menu commands for adding notes to users and messages.

* Add `NoteModal` class to handle note input via a modal.
* Add `add_note_to_user` context menu command to add a note to a user.
* Add `add_note_to_message` context menu command to add a note to a message.
* Automatically include the user ID and message link in the modal.
* Ensure the `!note` command is still available for more complex notes.
@swfarnsworth
Copy link
Member

Thank you for this contribution. I got this error when trying to run your code: https://paste.pythondiscord.com/K35Q

@wookie184 wookie184 added t: feature New feature or request a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority s: needs review Author is waiting for someone to review and approve labels Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority s: needs review Author is waiting for someone to review and approve t: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants