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

refactor(activity): use proper keyword arguments #1142

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ooliver1
Copy link
Member

Summary

Not tested yet so is a draft.

This PR makes use of proper keyword arguments in the activity classes. This makes for better intellisense/autocomplete for users, and improves pyright --verifytypes nextcord --ignoreexternal by a whopping 0.1%.

I am not sure as to if it is worth it to list activity parameters in docstrings now.

This is a Code Change

  • I have tested my changes.
  • I have updated the documentation to reflect the changes.
  • I have run task pyright and fixed the relevant issues.

@ooliver1 ooliver1 added s: in progress Status: the issue or PR is in development/progress p: low Priority: low - not important to be worked on t: refactor Type: refactor - this is a code change but does not fix a bug/add features labels Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: low Priority: low - not important to be worked on s: in progress Status: the issue or PR is in development/progress t: refactor Type: refactor - this is a code change but does not fix a bug/add features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant