From 77223557d6f5a715d77a4454e20d2746467ce0f3 Mon Sep 17 00:00:00 2001 From: shiftinv Date: Sat, 23 Sep 2023 14:30:01 +0200 Subject: [PATCH] docs: fix typo --- disnake/ui/button.py | 2 +- disnake/ui/select/channel.py | 2 +- disnake/ui/select/mentionable.py | 2 +- disnake/ui/select/role.py | 2 +- disnake/ui/select/string.py | 2 +- disnake/ui/select/user.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/disnake/ui/button.py b/disnake/ui/button.py index 8bb1e60ff2..d5e1fc7708 100644 --- a/disnake/ui/button.py +++ b/disnake/ui/button.py @@ -295,7 +295,7 @@ def button( ---------- cls: Type[:class:`Button`] The button subclass to create an instance of. If provided, the following parameters - described below do no apply. Instead, this decorator will accept the same keywords + described below do not apply. Instead, this decorator will accept the same keywords as the passed cls does. .. versionadded:: 2.6 diff --git a/disnake/ui/select/channel.py b/disnake/ui/select/channel.py index 1d4ce25f9e..a98472b547 100644 --- a/disnake/ui/select/channel.py +++ b/disnake/ui/select/channel.py @@ -185,7 +185,7 @@ def channel_select( ---------- cls: Type[:class:`ChannelSelect`] The select subclass to create an instance of. If provided, the following parameters - described below do no apply. Instead, this decorator will accept the same keywords + described below do not apply. Instead, this decorator will accept the same keywords as the passed cls does. placeholder: Optional[:class:`str`] The placeholder text that is shown if nothing is selected, if any. diff --git a/disnake/ui/select/mentionable.py b/disnake/ui/select/mentionable.py index 6d34a98804..4f0d591201 100644 --- a/disnake/ui/select/mentionable.py +++ b/disnake/ui/select/mentionable.py @@ -161,7 +161,7 @@ def mentionable_select( ---------- cls: Type[:class:`MentionableSelect`] The select subclass to create an instance of. If provided, the following parameters - described below do no apply. Instead, this decorator will accept the same keywords + described below do not apply. Instead, this decorator will accept the same keywords as the passed cls does. placeholder: Optional[:class:`str`] The placeholder text that is shown if nothing is selected, if any. diff --git a/disnake/ui/select/role.py b/disnake/ui/select/role.py index 13e102292e..69b1bcaa57 100644 --- a/disnake/ui/select/role.py +++ b/disnake/ui/select/role.py @@ -159,7 +159,7 @@ def role_select( ---------- cls: Type[:class:`RoleSelect`] The select subclass to create an instance of. If provided, the following parameters - described below do no apply. Instead, this decorator will accept the same keywords + described below do not apply. Instead, this decorator will accept the same keywords as the passed cls does. placeholder: Optional[:class:`str`] The placeholder text that is shown if nothing is selected, if any. diff --git a/disnake/ui/select/string.py b/disnake/ui/select/string.py index 3b259efea3..d38c9ea6ba 100644 --- a/disnake/ui/select/string.py +++ b/disnake/ui/select/string.py @@ -286,7 +286,7 @@ def string_select( ---------- cls: Type[:class:`StringSelect`] The select subclass to create an instance of. If provided, the following parameters - described below do no apply. Instead, this decorator will accept the same keywords + described below do not apply. Instead, this decorator will accept the same keywords as the passed cls does. .. versionadded:: 2.6 diff --git a/disnake/ui/select/user.py b/disnake/ui/select/user.py index 298c409d8d..179b9d6c74 100644 --- a/disnake/ui/select/user.py +++ b/disnake/ui/select/user.py @@ -160,7 +160,7 @@ def user_select( ---------- cls: Type[:class:`UserSelect`] The select subclass to create an instance of. If provided, the following parameters - described below do no apply. Instead, this decorator will accept the same keywords + described below do not apply. Instead, this decorator will accept the same keywords as the passed cls does. placeholder: Optional[:class:`str`] The placeholder text that is shown if nothing is selected, if any.