Browse Source
Add missing required property to Parameter
pull/8345/head
Pıεяяε
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
discord/app_commands/commands.py
|
|
@ -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) |
|
|
|