public Task PrintResponses(ResponsesCommand command, Contexts contexts) { var messagesService = this._messagesServiceFactory.Create(contexts); if (command.Default) { return(messagesService.SendEmbedMessage("Domyślne odpowiedzi:", DESCRIPTION, this.GetDefaultResponses())); } else if (command.Custom) { return(messagesService.SendEmbedMessage("Nadpisane odpowiedzi:", DESCRIPTION, this.GetCustomResponses(contexts.Server.Id))); } return(messagesService.SendEmbedMessage("Wszystkie odpowiedzi:", DESCRIPTION, this.GetAllResponses(contexts.Server.Id))); }
public Task Responses(ResponsesCommand command, Contexts contexts) { return(this._responsesMessageService.PrintResponses(command, contexts)); }