Skip to content

Commit

Permalink
加入抽卡生成图片功能
Browse files Browse the repository at this point in the history
  • Loading branch information
H-K-Y committed Oct 19, 2020
1 parent dbbbda7 commit 02b4592
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gacha.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from PIL import Image
from io import BytesIO
from hoshino.typing import *
from nonebot import MessageSegment

import os
import json
Expand Down Expand Up @@ -227,7 +227,7 @@ def gacha_10():
mes = '本次祈愿得到以下角色装备:\n'
res = concat_pic(gacha_list)
res = pic2b64(res)
mes += MessageSegment.image(res)
mes += str(MessageSegment.image(res))
mes += '\n'
mes += gacha_txt
mes += '\n'
Expand Down

0 comments on commit 02b4592

Please sign in to comment.