src/Bot/MessageBinder.cs
/// <summary>
/// Check, whether message is supposed to create new game and then process it.
/// We allow creating messages with bots, as it might be interesting to
/// create bot which will play those games.
/// </summary>
/// <param name="message">Incoming message from handler.</param>
Check, whether message is supposed to create new game and then process it.
We allow creating messages with bots, as it might be interesting to
create bot which will play those games.
Check whether message is supposed to create new game and then process it . We allow creating messages with bots as it might be interesting to create bot which will play those games .
private Task HandleCommand(SocketMessage message)
        {
            if (IsSystemMessage(message)
                || ! IsCreateCommand(message))
            {
                return Task.CompletedTask;
            }
            ProcessCommand(message);
            return Task.CompletedTask;
        }
private Task HandleCommand ( SocketMessage message ) { if ( IsSystemMessage ( message ) || ! IsCreateCommand ( message ) ) { return Task . CompletedTask ; } ProcessCommand ( message ) ; return Task . CompletedTask ; }
Check, whether message is supposed to create new game and then process it.
Check whether message is supposed to create new game and then process it .
message
SocketMessage
Incoming message from handler.
Incoming message from handler .