Skip to content

Commit c91e969

Browse files
authored
Removed redundant code
1 parent 357f127 commit c91e969

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

discord/commands/commands.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@
5858
"ContextMenuCommand",
5959
"UserCommand",
6060
"MessageCommand",
61-
"command",
62-
"application_command",
63-
"slash_command",
64-
"user_command",
65-
"message_command",
6661
)
6762

6863
def wrap_callback(coro):
@@ -1040,4 +1035,4 @@ def validate_chat_input_description(description: Any):
10401035
if len(description) > 100 or len(description) < 1:
10411036
raise ValidationError(
10421037
"Description of a chat input command must be less than 100 characters and non empty."
1043-
)
1038+
)

0 commit comments

Comments
 (0)