mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +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:
|
||||
return self.__parent.display_name
|
||||
|
||||
@property
|
||||
def required(self) -> bool:
|
||||
return self.__parent.required
|
||||
|
||||
@property
|
||||
def description(self) -> str:
|
||||
return str(self.__parent.description)
|
||||
|
Loading…
x
Reference in New Issue
Block a user