From aa2a8f32d1eba0d1652aaf137c7707891427974a Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 12 Sep 2021 18:51:13 +0300 Subject: [PATCH] Update User.hpp --- module/Library/DPP/User.hpp | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/module/Library/DPP/User.hpp b/module/Library/DPP/User.hpp index c60a6fd2..c4449e40 100644 --- a/module/Library/DPP/User.hpp +++ b/module/Library/DPP/User.hpp @@ -20,7 +20,7 @@ struct DpUser */ Ptr mPtr{nullptr}; /* -------------------------------------------------------------------------------------------- - * Wether the referenced pointer is owned. + * Whether the referenced pointer is owned. */ bool mOwned{false}; /* -------------------------------------------------------------------------------------------- @@ -88,7 +88,7 @@ struct DpUser */ SQMOD_NODISCARD Ptr::element_type & Valid() const { Validate(); return *mPtr; } /* -------------------------------------------------------------------------------------------- - * Check wether a valid instance is managed. + * Check whether a valid instance is managed. */ SQMOD_NODISCARD bool IsValid() const { return static_cast< bool >(mPtr); } /* -------------------------------------------------------------------------------------------- @@ -116,83 +116,83 @@ struct DpUser */ SQMOD_NODISCARD std::string GetAvatarURL() const { return Valid().get_avatar_url(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is a bot. + * Check whether the user is a bot. */ SQMOD_NODISCARD bool IsBot() const { return Valid().is_bot(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is a system user (Clyde). + * Check whether the user is a system user (Clyde). */ SQMOD_NODISCARD bool IsSystem() const { return Valid().is_system(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has multi-factor authentication enabled. + * Check whether the user has multi-factor authentication enabled. */ SQMOD_NODISCARD bool IsMfaEnabled() const { return Valid().is_mfa_enabled(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has verified account. + * Check whether the user has verified account. */ SQMOD_NODISCARD bool IsVerified() const { return Valid().is_verified(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has full nitro. + * Check whether the user has full nitro. */ SQMOD_NODISCARD bool HasNitroFull() const { return Valid().has_nitro_full(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has nitro classic. + * Check whether the user has nitro classic. */ SQMOD_NODISCARD bool HasNitroClassic() const { return Valid().has_nitro_classic(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is a discord employee. + * Check whether the user is a discord employee. */ SQMOD_NODISCARD bool IsDiscordEmployee() const { return Valid().is_discord_employee(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user owns a partnered server. + * Check whether the user owns a partnered server. */ SQMOD_NODISCARD bool IsPartneredOwner() const { return Valid().is_partnered_owner(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has hype-squad events. + * Check whether the user has hype-squad events. */ SQMOD_NODISCARD bool HasHypesquadEvents() const { return Valid().has_hypesquad_events(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has the bug-hunter level 1 badge. + * Check whether the user has the bug-hunter level 1 badge. */ SQMOD_NODISCARD bool IsBughunter1() const { return Valid().is_bughunter_1(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is in house bravery. + * Check whether the user is in house bravery. */ SQMOD_NODISCARD bool IsHouseBravery() const { return Valid().is_house_bravery(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is in house brilliance. + * Check whether the user is in house brilliance. */ SQMOD_NODISCARD bool IsHouseBrilliance() const { return Valid().is_house_brilliance(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is in house balance. + * Check whether the user is in house balance. */ SQMOD_NODISCARD bool IsHouseBalanace() const { return Valid().is_house_balanace(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is an early supporter. + * Check whether the user is an early supporter. */ SQMOD_NODISCARD bool IsEarlySupporter() const { return Valid().is_early_supporter(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is a team user. + * Check whether the user is a team user. */ SQMOD_NODISCARD bool IsTeamUser() const { return Valid().is_team_user(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has the bug-hunter level 2 badge. + * Check whether the user has the bug-hunter level 2 badge. */ SQMOD_NODISCARD bool IsBughunter2() const { return Valid().is_bughunter_2(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has the verified bot badge. + * Check whether the user has the verified bot badge. */ SQMOD_NODISCARD bool IsVerifiedBot() const { return Valid().is_verified_bot(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is an early verified bot developer. + * Check whether the user is an early verified bot developer. */ SQMOD_NODISCARD bool IsVerifiedBotDev() const { return Valid().is_verified_bot_dev(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user is a certified moderator. + * Check whether the user is a certified moderator. */ SQMOD_NODISCARD bool IsCertifiedDoderator() const { return Valid().is_certified_moderator(); } /* -------------------------------------------------------------------------------------------- - * Check wether the user has an animated icon. + * Check whether the user has an animated icon. */ SQMOD_NODISCARD bool HasAnimatedIcon() const { return Valid().has_animated_icon(); } };