18 lines
316 B
Python
18 lines
316 B
Python
|
# 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 []
|