From 7761beb1410f320ae27203de92acfbbfea4e2287 Mon Sep 17 00:00:00 2001 From: Soheab_ <33902984+Soheab@users.noreply.github.com> Date: Thu, 10 Jul 2025 14:33:16 +0200 Subject: [PATCH] Update onboarding.py --- discord/onboarding.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/discord/onboarding.py b/discord/onboarding.py index 6beec0c75..3509c4afb 100644 --- a/discord/onboarding.py +++ b/discord/onboarding.py @@ -149,10 +149,10 @@ class OnboardingPromptOption(Hashable): Raises ------- ValueError - If this prompt option is manually created. + If the prompt option was created manually. """ if self._guild is None: - raise ValueError('This prompt option is manually created therefore has no guild.') + raise ValueError('This prompt does not have an associated guild because it was created manually.') return self._guild @cached_slot_property('_cs_channels') @@ -273,10 +273,10 @@ class OnboardingPrompt: Raises ------ ValueError - If this prompt is manually created, therefore has no guild. + If the prompt was created manually. """ if self._guild is None: - raise ValueError('This prompt is manually created therefore has no guild.') + raise ValueError('This prompt does not have an associated guild because it was created manually.') return self._guild def get_option(self, option_id: int, /) -> Optional[OnboardingPromptOption]: