Fix small typos in docstrings

This commit is contained in:
GoogleGenius 2022-07-10 23:05:09 -05:00 committed by GitHub
parent 1aaa32d4bc
commit eea70b53cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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`