Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing **kwargs param to support non-explicit parameters in SlashCommandGroup (fixes issue introduced by #1127) #1132

Merged
merged 1 commit into from
Mar 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add missing **kwargs param to support non-explicit parameters in `Sla…
…shCommandGroup` (fixes issue introduced by #1127)
  • Loading branch information
krittick committed Mar 7, 2022
commit 9c64c29b5e4804dee2dd9188ef8f563f01e9471e
1 change: 1 addition & 0 deletions discord/commands/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,7 @@ def __init__(
*,
default_permissions: Optional[bool] = True,
permissions: Optional[List[CommandPermission]] = [],
**kwargs,
) -> None:
validate_chat_input_name(name)
validate_chat_input_description(description)
Expand Down