From 2de61509f24621300d439a133f6c4dc5a932dfeb Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Mon, 11 Jul 2022 18:17:55 -0700 Subject: bungmobott: fix file timestamp to use milliseconds --- crystal/bungmobott.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crystal') diff --git a/crystal/bungmobott.cr b/crystal/bungmobott.cr index 5e0caed..0f95e7a 100755 --- a/crystal/bungmobott.cr +++ b/crystal/bungmobott.cr @@ -426,7 +426,7 @@ spawn do playaudiofile( filepath ) File.delete( filepath ) elsif aws # AWS polly voices - filepath="#{settings["tempdir"]}#{Time.utc.to_unix}.mp3" + filepath="#{settings["tempdir"]}#{Time.utc.to_unix_ms}.mp3" p = Process.new( "aws.exe", [ "polly", "synthesize-speech", -- cgit v1.2.3