Skip to content

Commit

Permalink
docs: fix incorrect type note for Overwrite id (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
AstreaTSS committed Jun 2, 2022
1 parent 9f7f310 commit 86fe656
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interactions/api/models/misc.py
Expand Up @@ -63,7 +63,7 @@ class Overwrite(DictSerializerMixin):
"""
This is used for the PermissionOverride object.
:ivar int id: Role or User ID
:ivar str id: Role or User ID
:ivar int type: Type that corresponds ot the ID; 0 for role and 1 for member.
:ivar str allow: Permission bit set.
:ivar str deny: Permission bit set.
Expand Down
2 changes: 1 addition & 1 deletion interactions/api/models/misc.pyi
Expand Up @@ -11,7 +11,7 @@ class DictSerializerMixin(object):

class Overwrite(DictSerializerMixin):
_json: dict
id: int
id: str
type: int
allow: str
deny: str
Expand Down

0 comments on commit 86fe656

Please sign in to comment.