mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
typo
Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
parent
1468cb67ed
commit
be002580b5
1 changed files with 2 additions and 2 deletions
|
|
@ -52,8 +52,8 @@ class UsersData:
|
|||
async def get_ban_status(self, id):
|
||||
user = await self.col.find_one({"_id": int(id)})
|
||||
if user:
|
||||
return True
|
||||
return False
|
||||
return True, user
|
||||
return False, None
|
||||
|
||||
async def get_all_users(self):
|
||||
return self.col.find({})
|
||||
|
|
|
|||
Loading…
Reference in a new issue