Compare commits

..

No commits in common. "06e1474396af1e301abca51e8f82d57a0435d0d3" and "fc02eaea4a317b059b3002444a3d6502abdc01ad" have entirely different histories.

View File

@ -114,8 +114,6 @@ pub async fn offset(
#[description = "Number of minutes to offset by"] minutes: Option<isize>,
#[description = "Number of seconds to offset by"] seconds: Option<isize>,
) -> Result<(), Error> {
ctx.defer().await?;
let combined_time = hours.map_or(0, |h| h * HOUR as isize)
+ minutes.map_or(0, |m| m * MINUTE as isize)
+ seconds.map_or(0, |s| s);