diff --git a/Commands/Modules/VideoUtils.cs b/Commands/Modules/VideoUtils.cs index bf649ce..d2cc612 100644 --- a/Commands/Modules/VideoUtils.cs +++ b/Commands/Modules/VideoUtils.cs @@ -81,7 +81,7 @@ public async Task TrimVideoAsync( } // Process and send video - await FFMpeg.SubVideoAsync(videoInputPath, videoOutputPath, (TimeSpan)trimStart, (TimeSpan)trimEnd); // Need to convert the TimeSpans since the value is nullable + await FFMpeg.SubVideoAsync(videoInputPath, videoOutputPath, trimStart, trimEnd); await FollowupWithFileAsync(videoOutputPath, video.Filename, message, ephemeral: ephemeral); // Clean up