mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-08 02:43:01 +00:00
Fix usage of single backticks to links and code-blocks
This commit is contained in:
@ -155,7 +155,7 @@ class IDConverter(Converter[T_co]):
|
||||
class ObjectConverter(IDConverter[discord.Object]):
|
||||
"""Converts to a :class:`~discord.Object`.
|
||||
|
||||
The argument must follow the valid ID or mention formats (e.g. `<@80088516616269824>`).
|
||||
The argument must follow the valid ID or mention formats (e.g. ``<@80088516616269824>``).
|
||||
|
||||
.. versionadded:: 2.0
|
||||
|
||||
|
@ -2049,7 +2049,7 @@ def has_role(item: Union[int, str], /) -> Check[Any]:
|
||||
def has_any_role(*items: Union[int, str]) -> Callable[[T], T]:
|
||||
r"""A :func:`.check` that is added that checks if the member invoking the
|
||||
command has **any** of the roles specified. This means that if they have
|
||||
one out of the three roles specified, then this check will return `True`.
|
||||
one out of the three roles specified, then this check will return ``True``.
|
||||
|
||||
Similar to :func:`.has_role`\, the names or IDs passed in must be exact.
|
||||
|
||||
|
Reference in New Issue
Block a user