🐛 fix judgment error
🐛 修复判断错误
This commit is contained in:
parent
399597105c
commit
c0a14fe4ad
@ -24,7 +24,7 @@ async def sticker(context):
|
|||||||
if redis_status():
|
if redis_status():
|
||||||
if redis.get("sticker.round"):
|
if redis.get("sticker.round"):
|
||||||
pic_round = True
|
pic_round = True
|
||||||
if len(context.parameter) != 1:
|
if len(context.parameter) == 1:
|
||||||
if context.parameter[0] == "set_round":
|
if context.parameter[0] == "set_round":
|
||||||
if pic_round:
|
if pic_round:
|
||||||
redis.delete("sticker.round")
|
redis.delete("sticker.round")
|
||||||
|
Loading…
Reference in New Issue
Block a user