// 合成 public void Hecheng(Chat chat) { if (ConfigData.BlackList != "") { foreach (var Black in BlackList) { if (Black.Contains("Name:")) { var black = Black.Replace("Name:", ""); if (chat.user.Name == black) { return; } } else if (Black.Contains("Name:")) { var black = Black.Replace("Name:", ""); if (chat.user.Name == black.Trim()) { return; } } } } //经过多次测试发现弹幕中部分emoji不能被语音合成程序处理而导致主线程阻塞引发程序崩溃 //即使未引发崩溃也会导致程序不能继续正常工作出现假死状态 Hecheng(DelEmoji.delEmoji(chat.content), true); }