fix(core): Spent slash command is valid for time spent

ref: #744
This commit is contained in:
2025-05-09 21:02:55 +09:30
parent d4d99772b9
commit b6da539fcd

View File

@ -67,7 +67,10 @@ class SlashCommands(
returned_line = ''
if command == 'spend':
if(
command == 'spend'
or command == 'spent'
):
returned_line = re.sub(self.time_spent, self.command_duration, line)