feat:药材上架修改为引用任意原文解析
This commit is contained in:
@@ -27,7 +27,7 @@ namespace RoBot.Start.Cmd
|
||||
chain.FirstOrDefault(e => e is MentionEntity) is MentionEntity mention &&
|
||||
chain.FirstOrDefault(e => e is TextEntity) is TextEntity text)
|
||||
{
|
||||
if (forward.TargetUin == (uint)systemConfig.XiaoXiaoQQ && mention.Uin == (uint)systemConfig.BotQQ && (text.Text.Contains("查上架") || text.Text.Contains("查价格")))
|
||||
if ((text.Text.Contains("查上架") || text.Text.Contains("查价格")))
|
||||
{
|
||||
|
||||
var list = forward.Chain.Where(o => o is TextEntity);
|
||||
|
||||
Reference in New Issue
Block a user