mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 12:18:59 +00:00
Fix small typos in docstrings
This commit is contained in:
parent
1aaa32d4bc
commit
eea70b53cd
@ -83,7 +83,7 @@ class Object(Hashable):
|
|||||||
try:
|
try:
|
||||||
id = int(id)
|
id = int(id)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise TypeError(f'id parameter must be convertable to int not {id.__class__!r}') from None
|
raise TypeError(f'id parameter must be convertible to int not {id.__class__!r}') from None
|
||||||
else:
|
else:
|
||||||
self.id = id
|
self.id = id
|
||||||
|
|
||||||
|
@ -447,7 +447,7 @@ class RawAppCommandPermissionsUpdateEvent(_RawReprMixin):
|
|||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
target_id: :class:`int`
|
target_id: :class:`int`
|
||||||
The ID of the command or application whos permissions were updated.
|
The ID of the command or application whose permissions were updated.
|
||||||
When this is the application ID instead of a command ID, the permissions
|
When this is the application ID instead of a command ID, the permissions
|
||||||
apply to all commands that do not contain explicit overwrites.
|
apply to all commands that do not contain explicit overwrites.
|
||||||
application_id: :class:`int`
|
application_id: :class:`int`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user