🐛 Fix sticker cannot add.
This commit is contained in:
parent
4c0b7a0930
commit
53b65965b7
@ -364,8 +364,9 @@ async def single_sticker(animated, context, custom_emoji, emoji, message, pic_ro
|
|||||||
await bot.send_read_acknowledge(conversation.chat_id)
|
await bot.send_read_acknowledge(conversation.chat_id)
|
||||||
await conversation.send_message(pack_name)
|
await conversation.send_message(pack_name)
|
||||||
chat_response = await conversation.get_response()
|
chat_response = await conversation.get_response()
|
||||||
while chat_response.text == "Whoa! That's probably enough stickers for one pack, give it a break. \
|
while chat_response.text == "Whoa! That's probably enough stickers for one set, " \
|
||||||
A pack can't have more than 120 stickers at the moment.":
|
"give it a break. " \
|
||||||
|
"A set can't have more than 120 stickers at the moment.":
|
||||||
pack += 1
|
pack += 1
|
||||||
|
|
||||||
# 指定贴纸包已满时直接报错
|
# 指定贴纸包已满时直接报错
|
||||||
|
Loading…
Reference in New Issue
Block a user