diff --git a/plugins/open_cases/__init__.py b/plugins/open_cases/__init__.py index f1226f97..029f2a93 100755 --- a/plugins/open_cases/__init__.py +++ b/plugins/open_cases/__init__.py @@ -135,14 +135,8 @@ update_case = on_command( show_case = on_command("查看武器箱", priority=5, block=True) my_knifes = on_command("我的金色", priority=1, permission=GROUP, block=True) show_skin = on_command("查看皮肤", priority=5, block=True) -test = on_command("test", priority=1, permission=GROUP, block=True) -@test.handle() -async def _(event: GroupMessageEvent): - a = await get_skin_case("872472") - print(a) - @reload_count.handle() async def _(event: GroupMessageEvent): diff --git a/plugins/open_cases/open_cases_c.py b/plugins/open_cases/open_cases_c.py index 4ccfbb26..fe0f477d 100755 --- a/plugins/open_cases/open_cases_c.py +++ b/plugins/open_cases/open_cases_c.py @@ -251,7 +251,9 @@ async def open_multiple_case( h = img_h * int(num / 5) else: h = img_h * int(num / 5) + img_h - markImg = BuildImage(w, h, img_w - 10, img_h - 10, 10) + markImg = BuildImage( + w - 10, h - 10, img_w - 10, img_h - 10, 10, color=(255, 255, 255) + ) for img in img_list: markImg.paste(img, alpha=True) over_count = max_count - user.today_open_total