Update __init__.py
This commit is contained in:
parent
81e2c8810a
commit
fda10e80bd
1 changed files with 2 additions and 2 deletions
|
@ -55,12 +55,12 @@ async def finish_fish(msg: Bot.MessageSession):
|
||||||
(f'{msg.locale.t("fish.message.size")}'
|
(f'{msg.locale.t("fish.message.size")}'
|
||||||
f'{msg.locale.t("fish.message.size." + play_state[msg.target.target_id]["fish_type"])}')
|
f'{msg.locale.t("fish.message.size." + play_state[msg.target.target_id]["fish_type"])}')
|
||||||
if play_state[msg.target.target_id]['hooked_time'] < 2:
|
if play_state[msg.target.target_id]['hooked_time'] < 2:
|
||||||
if g := (g_msg := await gained_petal(msg, 1)):
|
if g := await gained_petal(msg, 1):
|
||||||
text += '\n' + g
|
text += '\n' + g
|
||||||
await msg.finish(text, quote=False)
|
await msg.finish(text, quote=False)
|
||||||
else:
|
else:
|
||||||
send = msg.locale.t('fish.message.failed.' + str(random.randint(1, 3)))
|
send = msg.locale.t('fish.message.failed.' + str(random.randint(1, 3)))
|
||||||
if g := (g_msg := await lost_petal(msg, 1)):
|
if g := await lost_petal(msg, 1):
|
||||||
send += '\n' + g
|
send += '\n' + g
|
||||||
await msg.finish(send, quote=False)
|
await msg.finish(send, quote=False)
|
||||||
else:
|
else:
|
||||||
|
|
Reference in a new issue