File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 35
35
)
36
36
37
37
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.
41
41
42
42
.. versionadded:: 2.0
43
43
44
44
Attributes
45
45
-----------
46
46
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
48
48
the id of the user or role that the permission is tied to.
49
49
type: :class:`int`
50
50
An integer representing the type of the permission.
@@ -178,7 +178,7 @@ def is_user(user: int, guild_id: int = None):
178
178
Attributes
179
179
-----------
180
180
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.
182
182
guild_id: :class:`int`
183
183
The integer which represents the id of the guild that the
184
184
permission may be tied to.
You can’t perform that action at this time.
0 commit comments