mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 16:32:59 +00:00
Add missing required property to Parameter
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user