Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
feat: format timestamp (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
reisxd authored Aug 20, 2022
1 parent 55e263d commit 55d0aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/moderation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ pub async fn mute(
&ctx,
ModerationKind::Mute(
reason,
unmute_time.format("%d/%m/%Y %H:%M").to_string(),
format!("<t:{}:F>", unmute_time.timestamp()),
result,
),
&member.user,
Expand Down

0 comments on commit 55d0aaf

Please sign in to comment.