public async Task Roll_NotMentionedTest() { ulong botCurrentUserId = TestLazySocketUser.MyBot.Id; var(allCommands, testObserver, _) = Init(); await allCommands.ReceiveMessageAsync(TestLazySocketMessage.CreateNotMentionedMessage("1d100"), botCurrentUserId); AssertEx.IsEmpty(testObserver.Messages); }
async Task Plain_NotMentionedTestCore(string text) { ulong botCurrentUserId = TestLazySocketUser.MyBot.Id; var(allCommands, testObserver, _) = Init(); await allCommands.ReceiveMessageAsync(TestLazySocketMessage.CreateNotMentionedMessage(text), botCurrentUserId); AssertEx.IsEmpty(testObserver.Messages); }