MM-62500 - Apply Delete check on commands (#29896)

* apply delete check on commands, add tests

* combine tests

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Scott Bishel
2025-01-30 08:20:36 -07:00
коммит произвёл GitHub
родитель 1f34d784dd
Коммит f2af360401
3 изменённых файлов: 26 добавлений и 0 удалений

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

@@ -603,6 +603,10 @@
"id": "api.command.execute_command.create_post_failed.app_error",
"translation": "Command '{{.Trigger}}' failed to post response. Please contact your System Administrator."
},
{
"id": "api.command.execute_command.deleted.error",
"translation": "Can not run command in deleted channel."
},
{
"id": "api.command.execute_command.failed.app_error",
"translation": "Command with a trigger of '{{.Trigger}}' failed."