Skip to content

Commit

Permalink
feat: support stickers
Browse files Browse the repository at this point in the history
  • Loading branch information
xslingcn committed May 9, 2022
1 parent 9933861 commit a163944
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Component groupMusicShare(MusicShare music) {

Component groupImage() {
int matchCount = 0;
String pattern = "\\u56fe\\u7247";
String pattern = "\\u56fe\\u7247|\\u52a8\\u753b\\u8868\\u60c5";
Matcher match = Pattern.compile(pattern).matcher(messageString);
List<String> other = List.of(messageString.split(pattern));
TextComponent.Builder result = Component.text().content(altColor(format[0]));
Expand Down

0 comments on commit a163944

Please # to comment.