public WorkflowBuilder Build() { this._workflow.MapHandlers(this._client); this._client.LoginAsync(TokenType.Bot, this._token).Wait(); this._client.StartAsync().Wait(); ServerInitializer.Initialize(this._client, this._context); return(this); }
public WorkflowBuilder Build() { _workflow.Initialize(); _workflow.MapHandlers(_client); _client.LoginAsync(TokenType.Bot, _token).Wait(); _client.StartAsync().Wait(); ServerInitializer.Initialize(_client); return(this); }