mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-06 01:51:59 +00:00
Add missing required property to Parameter
This commit is contained in:
parent
490974a620
commit
4182496713
@ -512,6 +512,10 @@ class Parameter:
|
|||||||
def display_name(self) -> str:
|
def display_name(self) -> str:
|
||||||
return self.__parent.display_name
|
return self.__parent.display_name
|
||||||
|
|
||||||
|
@property
|
||||||
|
def required(self) -> bool:
|
||||||
|
return self.__parent.required
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def description(self) -> str:
|
def description(self) -> str:
|
||||||
return str(self.__parent.description)
|
return str(self.__parent.description)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user