Skip to content

Commit

Permalink
Update docstring for is_id_blocked
Browse files Browse the repository at this point in the history
  • Loading branch information
raidensakura committed Apr 13, 2024
1 parent a96b734 commit 061ed57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/blocklist.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async def is_id_blocked(self, user_or_role_id: int) -> Tuple[bool, Optional[Bloc
Returns
-------
True if there is an active block for the given ID
Tuple[bool, Optional[BlocklistEntry]]
"""
result = await self.blocklist_collection.find_one({"id": user_or_role_id})
Expand Down

0 comments on commit 061ed57

Please sign in to comment.