fix(timers): Unify command interface.

This commit is contained in:
2023-09-12 15:15:53 +03:00
parent 0b669456cb
commit 66434e5a29
3 changed files with 247 additions and 175 deletions

View File

@@ -233,8 +233,8 @@ class RoomUI(MessageUI):
await submit.edit_original_response(
content=t(_p(
'ui:room_status|button:timer|timer_created',
"Timer created successfully! Use `/pomodoro edit` to configure further."
))
"Timer created successfully! Use {edit_cmd} to configure further."
)).format(edit_cmd=self.bot.core.mention_cmd('pomodoro edit'))
)
await self.refresh()
except UserInputError: