mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix small typos in docstrings
This commit is contained in:
1 parent
1aaa32d4bc
commit
eea70b53cd
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -83,7 +83,7 @@ class Object(Hashable):
|
||||
try:
|
||||
id = int(id)
|
||||
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:
|
||||
self.id = id
|
||||
|
||||
|
||||
@@ -447,7 +447,7 @@ class RawAppCommandPermissionsUpdateEvent(_RawReprMixin):
|
||||
Attributes
|
||||
----------
|
||||
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
|
||||
apply to all commands that do not contain explicit overwrites.
|
||||
application_id: :class:`int`
|
||||
|
||||
Reference in new issue
Block a user