summaryrefslogtreecommitdiff
path: root/crystal/bungmobott.cr
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk+git@omgwallhack.org>2022-07-11 18:17:55 -0700
committerJoe Rayhawk <jrayhawk+git@omgwallhack.org>2022-07-11 18:17:55 -0700
commit2de61509f24621300d439a133f6c4dc5a932dfeb (patch)
treec928550c5953aec53bda5c5eca4fbc686e58bb4e /crystal/bungmobott.cr
parent1d16db959a75a749f57d423436dc132373cdf43b (diff)
downloadtwitchtools-2de61509f24621300d439a133f6c4dc5a932dfeb.tar.gz
twitchtools-2de61509f24621300d439a133f6c4dc5a932dfeb.zip
bungmobott: fix file timestamp to use milliseconds
Diffstat (limited to 'crystal/bungmobott.cr')
-rwxr-xr-xcrystal/bungmobott.cr2
1 files changed, 1 insertions, 1 deletions
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",