Skip to content

Commit 56d13c4

Browse files
authored
docs: update docstring for mention_everyone to include role mentions (#2957)
1 parent d40c9b0 commit 56d13c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/permissions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ def read_message_history(self) -> int:
419419

420420
@flag_value
421421
def mention_everyone(self) -> int:
422-
""":class:`bool`: Returns ``True`` if a user's @everyone or @here will mention everyone in the text channel."""
422+
""":class:`bool`: Returns ``True`` if a user's ``@everyone``, ``@here`` or role mentions will mention in the text channel."""
423423
return 1 << 17
424424

425425
@flag_value

0 commit comments

Comments
 (0)