MCPcopy Create free account
hub / github.com/TechifyBots/File-Stream-Bot / is_banned

Method is_banned

biisal/utils/database.py:56–58  ·  view source on GitHub ↗
(self , user_id)

Source from the content-addressed store, hash-verified

54 return True
55
56 async def is_banned(self , user_id):
57 user = await self.bannedList.find_one({'banId' : int(user_id)})
58 return True if user else False
59
60 async def is_unbanned(self , user_id):
61 try :

Callers 2

private_receive_handlerFunction · 0.80
channel_receive_handlerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected