🐛 sticker fix a bug

This commit is contained in:
xtaodada 2021-08-24 22:36:34 +08:00
parent 459ec408f5
commit 8f2ad079ef
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736

View File

@ -118,6 +118,7 @@ async def sticker(context):
return
# 是否添加到指定贴纸包
if len(context.parameter) >= 1:
if context.parameter[0] == "to":
if len(context.parameter) == 2:
to_sticker_set = context.parameter[1]