From b22f45b6d19370957b7f010586383068458dfd93 Mon Sep 17 00:00:00 2001 From: Mateusz <61660055+yoggys@users.noreply.github.com> Date: Wed, 25 May 2022 16:54:37 +0200 Subject: [PATCH] Fix #1385 --- discord/commands/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discord/commands/core.py b/discord/commands/core.py index 4adab192c7..9abda04019 100644 --- a/discord/commands/core.py +++ b/discord/commands/core.py @@ -699,6 +699,9 @@ def _parse_options(self, params, *, check_params: bool = True) -> List[Option]: option = Option(p_obj.default) elif isinstance(p_obj.default, Option) and not (default := p_obj.default.default) is None: option.default = default + else: + option.default = p_obj.default + option.required = False if option.name is None: option.name = p_name if option.name != p_name or option._parameter_name is None: