Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexedia committed Aug 26, 2024
1 parent 2e4949d commit 936198f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/src/utils/sanitizer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,12 @@ Future<String> sanitizeContent(
SanitizerTarget.users || SanitizerTarget.roles => '@',
SanitizerTarget.everyone => '@$_whitespaceCharacter',
SanitizerTarget.channels => '#',
SanitizerTarget.emojis => '',
SanitizerTarget.commands => '</',
SanitizerTarget.emojis => ':',
SanitizerTarget.commands => '/',
};

String suffix(SanitizerTarget target) => switch (target) {
SanitizerTarget.emojis => ':',
SanitizerTarget.commands => '>',
_ => '',
};

Expand Down

0 comments on commit 936198f

Please sign in to comment.