mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add missing required property to Parameter
This commit is contained in:
1 parent
490974a620
commit
4182496713
1 file changed
+4
@@ -512,6 +512,10 @@ class Parameter:
|
||||
def display_name(self) -> str:
|
||||
return self.__parent.display_name
|
||||
|
||||
@property
|
||||
def required(self) -> bool:
|
||||
return self.__parent.required
|
||||
|
||||
@property
|
||||
def description(self) -> str:
|
||||
return str(self.__parent.description)
|
||||
|
||||
Reference in new issue
Block a user