You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.WithContent($"{Program.cfgjson.Emoji.Error}{user.Mention} was already warned a few seconds ago, refusing yours to prevent collisions. If your warning is unrelated, try again in a few seconds.")
varresp=awaitctx.Channel.SendMessageAsync($"{Program.cfgjson.Emoji.BSOD} I was asked to warn someone twice within a few seconds, but I'm not going to. If I'm wrong, try again in a few seconds.");
404
+
awaitTask.Delay(5000);
405
+
awaitresp.DeleteAsync();
406
+
return;
407
+
}
408
+
}
409
+
410
+
// this gets updated with a full warning object later, shove a stub in for now
411
+
mostRecentWarning=new(){
412
+
TargetUserId=targetUser.Id,
413
+
ModUserId=ctx.User.Id,
414
+
WarnTimestamp=DateTime.Now,
415
+
Stub=true// make it clear this isn't a real warning
0 commit comments