Skip to content

Commit

Permalink
Remove stuff that shouldn't have been committed
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanrech committed May 26, 2022
1 parent 1495534 commit 40d0201
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions interactions/api/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ def __init__(self, **kwargs):
def __repr__(self) -> str:
return self.username

def has_public_flag(self, flag: UserFlags) -> bool:
int(flag)
if self.public_flags == 0 or self.public_flags is None:
return False
return (int(self.public_flags) & flag) == flag

@property
def mention(self) -> str:
"""
Expand Down
1 change: 0 additions & 1 deletion interactions/api/models/user.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ class User(DictSerializerMixin):
public_flags: Optional[UserFlags]
def __init__(self, **kwargs): ...
def __repr__(self) -> str: ...
def has_public_flag(self, flag: UserFlags) -> bool: ...
@property
def mention(self) -> str: ...
@property
Expand Down

0 comments on commit 40d0201

Please sign in to comment.