Skip to content

Commit 5286762

Browse files
committed
fix: Improve docstring wording of 'for regular members'
1 parent 7ceb11b commit 5286762

File tree

17 files changed

+53
-53
lines changed

17 files changed

+53
-53
lines changed

discord/member.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def display_name(self) -> str:
650650
def display_avatar(self) -> Asset:
651651
"""Returns the member's display avatar.
652652
653-
For regular members this is just their avatar, but
653+
this is just their avatar, but
654654
if they have a guild specific avatar then that
655655
is returned instead.
656656
@@ -675,7 +675,7 @@ def guild_avatar(self) -> Asset | None:
675675
def display_avatar_decoration(self) -> Asset | None:
676676
"""Returns the member's displayed avatar decoration.
677677
678-
For regular members this is just their avatar decoration, but
678+
this is just their avatar decoration, but
679679
if they have a guild specific avatar decoration then that
680680
is returned instead.
681681
@@ -700,7 +700,7 @@ def guild_avatar_decoration(self) -> Asset | None:
700700
def display_banner(self) -> Asset | None:
701701
"""Returns the member's display banner.
702702
703-
For regular members this is just their banner, but
703+
this is just their banner, but
704704
if they have a guild specific banner then that
705705
is returned instead.
706706
-80 Bytes
Binary file not shown.
-40 Bytes
Binary file not shown.

docs/build/locales/api/models.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12275,7 +12275,7 @@ msgstr ""
1227512275

1227612276
#: ../../../discord/member.py:docstring of discord.Member.display_avatar:3
1227712277
#: 2db0b9f8f64f48938c7e870b6c4d507c
12278-
msgid "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
12278+
msgid "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
1227912279
msgstr ""
1228012280

1228112281
#: ../../../discord/member.py:docstring of discord.Member.guild_avatar:1
@@ -12290,7 +12290,7 @@ msgstr ""
1229012290

1229112291
#: ../../../discord/member.py:docstring of discord.Member.display_banner:3
1229212292
#: 66a66f71e0fe488ca806a75ad79389bd
12293-
msgid "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
12293+
msgid "this is just their banner, but if they have a guild specific banner then that is returned instead."
1229412294
msgstr ""
1229512295

1229612296
#: ../../../discord/member.py:docstring of discord.Member.guild_banner:1

docs/locales/de/LC_MESSAGES/api/models.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,17 +3788,17 @@ msgstr "Returns the user's display name. This will either be their guild specifi
37883788
msgid "Returns the member's display avatar."
37893789
msgstr "Returns the member's display avatar."
37903790

3791-
msgid "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792-
msgstr "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3791+
msgid "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792+
msgstr "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
37933793

37943794
msgid "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37953795
msgstr "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37963796

37973797
msgid "Returns the member's display banner."
37983798
msgstr "Returns the member's display banner."
37993799

3800-
msgid "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3801-
msgstr "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3800+
msgid "this is just their banner, but if they have a guild specific banner then that is returned instead."
3801+
msgstr "this is just their banner, but if they have a guild specific banner then that is returned instead."
38023802

38033803
msgid "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."
38043804
msgstr "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."

docs/locales/en/LC_MESSAGES/api/models.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7124,7 +7124,7 @@ msgstr ""
71247124

71257125
#: 2db0b9f8f64f48938c7e870b6c4d507c discord.Member.display_avatar:3 of
71267126
msgid ""
7127-
"For regular members this is just their avatar, but if they have a guild "
7127+
"this is just their avatar, but if they have a guild "
71287128
"specific avatar then that is returned instead."
71297129
msgstr ""
71307130

@@ -7140,7 +7140,7 @@ msgstr ""
71407140

71417141
#: 66a66f71e0fe488ca806a75ad79389bd discord.Member.display_banner:3 of
71427142
msgid ""
7143-
"For regular members this is just their banner, but if they have a guild "
7143+
"this is just their banner, but if they have a guild "
71447144
"specific banner then that is returned instead."
71457145
msgstr ""
71467146

docs/locales/es/LC_MESSAGES/api/models.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,17 +3788,17 @@ msgstr "Returns the user's display name. This will either be their guild specifi
37883788
msgid "Returns the member's display avatar."
37893789
msgstr "Returns the member's display avatar."
37903790

3791-
msgid "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792-
msgstr "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3791+
msgid "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792+
msgstr "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
37933793

37943794
msgid "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37953795
msgstr "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37963796

37973797
msgid "Returns the member's display banner."
37983798
msgstr "Returns the member's display banner."
37993799

3800-
msgid "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3801-
msgstr "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3800+
msgid "this is just their banner, but if they have a guild specific banner then that is returned instead."
3801+
msgstr "this is just their banner, but if they have a guild specific banner then that is returned instead."
38023802

38033803
msgid "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."
38043804
msgstr "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."

docs/locales/fr/LC_MESSAGES/api/models.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,17 +3788,17 @@ msgstr "Returns the user's display name. This will either be their guild specifi
37883788
msgid "Returns the member's display avatar."
37893789
msgstr "Returns the member's display avatar."
37903790

3791-
msgid "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792-
msgstr "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3791+
msgid "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792+
msgstr "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
37933793

37943794
msgid "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37953795
msgstr "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37963796

37973797
msgid "Returns the member's display banner."
37983798
msgstr "Returns the member's display banner."
37993799

3800-
msgid "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3801-
msgstr "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3800+
msgid "this is just their banner, but if they have a guild specific banner then that is returned instead."
3801+
msgstr "this is just their banner, but if they have a guild specific banner then that is returned instead."
38023802

38033803
msgid "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."
38043804
msgstr "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."

docs/locales/hi/LC_MESSAGES/api/models.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,17 +3788,17 @@ msgstr "Returns the user's display name. This will either be their guild specifi
37883788
msgid "Returns the member's display avatar."
37893789
msgstr "Returns the member's display avatar."
37903790

3791-
msgid "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792-
msgstr "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3791+
msgid "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792+
msgstr "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
37933793

37943794
msgid "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37953795
msgstr "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37963796

37973797
msgid "Returns the member's display banner."
37983798
msgstr "Returns the member's display banner."
37993799

3800-
msgid "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3801-
msgstr "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3800+
msgid "this is just their banner, but if they have a guild specific banner then that is returned instead."
3801+
msgstr "this is just their banner, but if they have a guild specific banner then that is returned instead."
38023802

38033803
msgid "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."
38043804
msgstr "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."

docs/locales/it/LC_MESSAGES/api/models.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3788,17 +3788,17 @@ msgstr "Returns the user's display name. This will either be their guild specifi
37883788
msgid "Returns the member's display avatar."
37893789
msgstr "Returns the member's display avatar."
37903790

3791-
msgid "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792-
msgstr "For regular members this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3791+
msgid "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
3792+
msgstr "this is just their avatar, but if they have a guild specific avatar then that is returned instead."
37933793

37943794
msgid "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37953795
msgstr "Returns an :class:`Asset` for the guild avatar the member has. If unavailable, ``None`` is returned."
37963796

37973797
msgid "Returns the member's display banner."
37983798
msgstr "Returns the member's display banner."
37993799

3800-
msgid "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3801-
msgstr "For regular members this is just their banner, but if they have a guild specific banner then that is returned instead."
3800+
msgid "this is just their banner, but if they have a guild specific banner then that is returned instead."
3801+
msgstr "this is just their banner, but if they have a guild specific banner then that is returned instead."
38023802

38033803
msgid "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."
38043804
msgstr "Returns an :class:`Asset` for the guild banner the member has. If unavailable, ``None`` is returned."

0 commit comments

Comments
 (0)