Archived
1
0
Fork 0

Update MessageGen.py

This commit is contained in:
yzhh 2020-08-30 16:37:51 +08:00
parent 5a11e537b0
commit 6141c951e0

View file

@ -15,7 +15,10 @@ from modules.findimage import findimage
async def gen(bcc, app, message, target1, target2='0', msgtype='None'):
im = inter.InterruptControl(bcc)
run = await command(message.asDisplay())
if msgtype == 'group':
run = await command(message.asDisplay(),target1.id)
else:
run = await command(message.asDisplay())
print(run)
if run != None:
msgchain = await makemsgchain(run, msgtype)