mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 16:50:02 +08:00
update 0.0.7.0
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
from .model import RussianUser
|
||||
from typing import Optional
|
||||
from utils.data_utils import init_rank
|
||||
from utils.image_utils import CreateMat
|
||||
from utils.image_utils import BuildMat
|
||||
|
||||
|
||||
async def rank(group_id: int, itype: str, num: int) -> Optional[CreateMat]:
|
||||
async def rank(group_id: int, itype: str, num: int) -> Optional[BuildMat]:
|
||||
all_users = await RussianUser.get_all_user(group_id)
|
||||
all_user_id = [user.user_qq for user in all_users]
|
||||
if itype == 'win_rank':
|
||||
|
||||
Reference in New Issue
Block a user