Add expire ban button to incidents command
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user