Этот коммит содержится в:
Joram Wilander
2016-12-20 09:28:00 -05:00
коммит произвёл Christopher Speller
родитель 1f67c91fce
Коммит 2da388d297
3 изменённых файлов: 13 добавлений и 2 удалений

Просмотреть файл

@@ -40,6 +40,10 @@ func (me *EchoProvider) GetCommand(c *Context) *model.Command {
}
func (me *EchoProvider) DoCommand(c *Context, args *model.CommandArgs, message string) *model.CommandResponse {
if len(message) == 0 {
return &model.CommandResponse{Text: c.T("api.command_echo.message.app_error"), ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL}
}
maxThreads := 100
delay := 0