Skip to content
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

Add context menu for notes #3272

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.

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

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.

2 participants