Add expire ban button to incidents command

This commit is contained in:
2025-08-23 02:11:23 -03:00
parent 9b70714fe3
commit 679096a685
9 changed files with 138 additions and 15 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ pub fn incident_embed(incident: &UserIncident) -> Embed {
incident
.created_by_id
.map(|id| format!("<@{id}>"))
.unwrap_or("Automod".into()),
.unwrap_or("Automatic Moderator".into()),
));
if incident.r#type == UserIncidentType::Ban {
@@ -81,7 +81,7 @@ pub fn incident_embed(incident: &UserIncident) -> Embed {
incident
.created_by_id
.map(|id| format!("<@{id}>"))
.unwrap_or("Automod".into()),
.unwrap_or("Automatic Moderator".into()),
));
if incident.r#type == UserIncidentType::Ban {