Skip to content

Commit 985c78a

Browse files
authored
fixed some minor docstring mistakes
1 parent 9d20db2 commit 985c78a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

discord/commands/permissions.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
)
3636

3737
class Permission:
38-
"""The classed used in the application command decorators
39-
to hash permission data into a dict using the :meth:`to_dict`
40-
method to be sent to the discord API later on.
38+
"""The class used in the application command decorators
39+
to hash permission data into a dictionary using the
40+
:meth:`to_dict` method to be sent to the discord API later on.
4141
4242
.. versionadded:: 2.0
4343
4444
Attributes
4545
-----------
4646
id: Union[:class:`int`, :class:`str`]
47-
A string or integer that represents the or helps get
47+
A string or integer that represents or helps get
4848
the id of the user or role that the permission is tied to.
4949
type: :class:`int`
5050
An integer representing the type of the permission.
@@ -178,7 +178,7 @@ def is_user(user: int, guild_id: int = None):
178178
Attributes
179179
-----------
180180
user: :class:`int`
181-
An integer that represent the id the user the permission is tied to.
181+
An integer that represent the id of the user that the permission is tied to.
182182
guild_id: :class:`int`
183183
The integer which represents the id of the guild that the
184184
permission may be tied to.

0 commit comments

Comments
 (0)