예제 #1
0
        public async Task ResolveDayPhase(IUser userToRemove)
        {
            ResolvePhase(userToRemove, PhaseType.Day);
            string dayMessage = userToRemove != null
                ? GameElement.PlayerRemoved(userToRemove.Username)
                : GameElement.NoPlayerRemoved();

            await DayChannel.SendMessageAsync(dayMessage);

            await LockChannelForUsers(DayChannel, ActiveGame.Players.Select(p => p.User));
        }