core: time actions on chat start (#2417)

This commit is contained in:
spaced4ndy
2023-05-10 15:18:50 +04:00
committed by GitHub
parent df4e954f8a
commit ad7e4488ef
4 changed files with 25 additions and 10 deletions
+1
View File
@@ -519,6 +519,7 @@ data ChatResponse
| CRMessageError {user :: User, severity :: Text, errorMessage :: Text}
| CRChatCmdError {user_ :: Maybe User, chatError :: ChatError}
| CRChatError {user_ :: Maybe User, chatError :: ChatError}
| CRTimedAction {action :: String, durationMilliseconds :: Int64}
deriving (Show, Generic)
logResponseToFile :: ChatResponse -> Bool