1
This commit is contained in:
parent
13a669b362
commit
ad1aceb96c
@ -548,7 +548,7 @@ namespace Milimoe.RainBOT.ListeningTask
|
||||
if (GeneralSettings.IsRepeat && !Ignore.RepeatIgnore.Any(e.detail.Contains) && e.CheckThrow(GeneralSettings.PRepeat, out dice))
|
||||
{
|
||||
// 出现了@at就直接触发复读,没有延迟
|
||||
int delay = temp_at.Any() ? 0 : GeneralSettings.RepeatDelay[0] + new Random().Next(GeneralSettings.RepeatDelay[1] - GeneralSettings.RepeatDelay[0]);
|
||||
int delay = e.message.Where(m => m.type == "at").Any() ? 0 : GeneralSettings.RepeatDelay[0] + new Random().Next(GeneralSettings.RepeatDelay[1] - GeneralSettings.RepeatDelay[0]);
|
||||
Bot.ColorfulCheckPass(sender, "随机复读", dice, GeneralSettings.PRepeat, delay);
|
||||
GroupMessageContent content = new(e.group_id);
|
||||
content.message.AddRange(e.message);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user