This commit is contained in:
levina 2021-10-25 14:50:03 +07:00 committed by GitHub
parent 1cc816ca30
commit fce1451cfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 22 deletions

View File

@ -1,5 +0,0 @@
# Copyright (C) 2021 By VeezMusicProject
from cache.admins import admins, get, set
__all__ = ["admins", "get", "set"]

View File

@ -1,17 +0,0 @@
# Copyright (C) 2021 By VeezMusicProject
from typing import Dict, List
from config import Veez
admins: Dict[int, List[int]] = {}
def set(chat_id: int, admins_: List[int]):
admins[chat_id] = admins_
def get(chat_id: int) -> List[int]:
if chat_id in admins:
return admins[chat_id]
return []