Skip to content

Commit 587202c

Browse files
authored
changed "Attributes" to "Parameters"
1 parent 985c78a commit 587202c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

discord/commands/permissions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Permission:
4141
4242
.. versionadded:: 2.0
4343
44-
Attributes
44+
Parameters
4545
-----------
4646
id: Union[:class:`int`, :class:`str`]
4747
A string or integer that represents or helps get
@@ -71,7 +71,7 @@ def permission(role_id: int = None, user_id: int = None, permission: bool = True
7171
7272
.. versionadded:: 2.0
7373
74-
Attributes
74+
Parameters
7575
-----------
7676
role_id: :class:`int`
7777
An integer which represents the id of the role that the
@@ -111,7 +111,7 @@ def has_role(item: Union[int, str], guild_id: int = None):
111111
112112
.. versionadded:: 2.0
113113
114-
Attributes
114+
Parameters
115115
-----------
116116
item: Union[:class:`int`, :class:`str`]
117117
An integer or string that represent the id or name of the role
@@ -143,7 +143,7 @@ def has_any_role(*items: Union[int, str], guild_id: int = None):
143143
144144
.. versionadded:: 2.0
145145
146-
Attributes
146+
Parameters
147147
-----------
148148
*items: Union[:class:`int`, :class:`str`]
149149
The integers or strings that represent the ids or names of the roles
@@ -175,7 +175,7 @@ def is_user(user: int, guild_id: int = None):
175175
176176
.. versionadded:: 2.0
177177
178-
Attributes
178+
Parameters
179179
-----------
180180
user: :class:`int`
181181
An integer that represent the id of the user that the permission is tied to.
@@ -206,7 +206,7 @@ def is_owner(guild_id: int = None):
206206
207207
.. versionadded:: 2.0
208208
209-
Attributes
209+
Parameters
210210
-----------
211211
guild_id: :class:`int`
212212
The integer which represents the id of the guild that the

0 commit comments

Comments
 (0)