From d7f8a39a66ae4d0a389fbd1602cc21e296f19377 Mon Sep 17 00:00:00 2001 From: Soheab_ <33902984+Soheab@users.noreply.github.com> Date: Sat, 30 Sep 2023 18:47:19 +0200 Subject: [PATCH] Remove duplicated doc for default_values kwarg for select decorator --- discord/ui/select.py | 1 - 1 file changed, 1 deletion(-) diff --git a/discord/ui/select.py b/discord/ui/select.py index 2661b733c..b0807626f 100644 --- a/discord/ui/select.py +++ b/discord/ui/select.py @@ -1033,7 +1033,6 @@ def select( default_values: Sequence[:class:`~discord.abc.Snowflake`] A list of objects representing the default values for the select menu. This cannot be used with regular :class:`Select` instances. If ``cls`` is :class:`MentionableSelect` and :class:`.Object` is passed, then the type must be specified in the constructor. - if `cls` is :class:`MentionableSelect` and :class:`.Object` is passed, then the type must be specified in the constructor. .. versionadded:: 2.4 """