Pycord-Development / pycord

Pycord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python
https://docs.pycord.dev
MIT License
2.71k stars 459 forks source link

docs: Add missing attributes to UserCommand and MessageCommand #2494

Closed Icebluewolf closed 1 month ago

Icebluewolf commented 1 month ago

Summary

Adds attributes to UserCommand and MessageCommand that were previously missing. They are documented in the superclass ContextMenuCommand however this inheritance is not converted by the autoclass.

I tried looking for a better way to do this other than just copy/paste but I could not find a viable method. I tried adding :inherited-members:, but this did not inherit attributes, only properties and methods. I am willing to look into a better solution if needed.

Information

Checklist