mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17: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):
|
async def get_ban_status(self, id):
|
||||||
user = await self.col.find_one({"_id": int(id)})
|
user = await self.col.find_one({"_id": int(id)})
|
||||||
if user:
|
if user:
|
||||||
return True
|
return True, user
|
||||||
return False
|
return False, None
|
||||||
|
|
||||||
async def get_all_users(self):
|
async def get_all_users(self):
|
||||||
return self.col.find({})
|
return self.col.find({})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue