moderatior
move it
bendn 2024-04-04
parent 42fbac4 · commit f399de8
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 9300bea..b95bd8d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -48,13 +48,13 @@ pub fn format(log: AuditLogEntry) -> Option<String> {
RolesRemove { new, .. } => new
.as_ref()?
.into_iter()
- .map(|x| format!("{ADD} <@&{}>", x.id))
+ .map(|x| format!("{CANCEL} <@&{}>", x.id))
.reduce(|a, b| format!("{a} {b}"))
.unwrap_or_else(String::new),
RolesAdded { new, .. } => new
.as_ref()?
.into_iter()
- .map(|x| format!("{CANCEL} <@&{}>", x.id))
+ .map(|x| format!("{ADD} <@&{}>", x.id))
.reduce(|a, b| format!("{a} {b}"))
.unwrap_or_else(String::new),
_ => return None,