From 936198f7b76967aabc79a920d50d17c91edbac30 Mon Sep 17 00:00:00 2001 From: Rapougnac Date: Sun, 25 Aug 2024 14:56:36 +0200 Subject: [PATCH] fix --- lib/src/utils/sanitizer.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/utils/sanitizer.dart b/lib/src/utils/sanitizer.dart index 4402655..ab7bb07 100644 --- a/lib/src/utils/sanitizer.dart +++ b/lib/src/utils/sanitizer.dart @@ -118,13 +118,12 @@ Future sanitizeContent( SanitizerTarget.users || SanitizerTarget.roles => '@', SanitizerTarget.everyone => '@$_whitespaceCharacter', SanitizerTarget.channels => '#', - SanitizerTarget.emojis => '', - SanitizerTarget.commands => ' ':', + SanitizerTarget.commands => '/', }; String suffix(SanitizerTarget target) => switch (target) { SanitizerTarget.emojis => ':', - SanitizerTarget.commands => '>', _ => '', };