コード例 #1
0
        public async Task Roll_ByOtherBotTest()
        {
            ulong botCurrentUserId = TestLazySocketUser.MyBot.Id;

            var(allCommands, testObserver, _) = Init();

            await allCommands.ReceiveMessageAsync(TestLazySocketMessage.CreateOtherBotMessage("1d100"), botCurrentUserId);

            AssertEx.IsEmpty(testObserver.Messages);
        }