# /close

## 닫기 명령

### 개요

해당 `/close` 이 명령은 현재 티켓을 닫습니다. 사유를 추가할 수 있습니다. 티켓 안에서 실행하세요.

### 사용법

```
/close [reason]
```

* **사유** *(선택 사항 텍스트)*: 티켓을 닫는 간단한 설명입니다. 예: "문제가 해결됨" 또는 "더 이상 필요 없음".

### 설명

* **티켓 닫기**: 티켓을 닫아 더 이상 메시지를 보낼 수 없게 합니다.
* **이유**: 사유는 선택 사항입니다. "닫기 시 사유 필요" 설정이 켜져 있을 때만 필수입니다. 해당 설정이 켜져 있고 다음을 실행하면 `/close` 사유 없이 실행하면 봇이 사유가 필요하다고 응답하므로, 사유를 넣어 다시 실행하세요.
* **닫을 때**: 대화 기록이 생성됩니다. 닫힌 티켓 로그 채널이 설정되어 있으면, 봇이 해당 채널에 대화 기록 링크와 함께 로그를 게시합니다.

### 사용할 때

* 티켓이 해결되었을 때.
* 티켓이 더 이상 필요 없거나 실수로 열렸을 때.

### 권한

* 채널 관리 또는 서버 관리 권한이 있거나, 서버 소유자이거나, 승인된 지원 역할을 보유하고 있으면 티켓을 닫을 수 있습니다. 관리자 권한에도 이러한 권한이 포함되므로 역시 가능합니다.
* 티켓을 연 사람도 닫을 수 있습니다. 단, "닫기 시 지원 역할 필요" 설정이 켜져 있으면 예외입니다. 해당 설정이 켜져 있을 때는 직원만 닫을 수 있습니다.
* 봇이 티켓 채널을 관리하여 닫습니다.

### 예시

```
/close
```

사유 없이 티켓을 닫습니다. "닫기 시 사유 필요"가 켜져 있으면 봇이 사유가 필요하다고 알려주므로, 다음을 실행하세요 `/close reason:"..."` 대신.

```
/close reason:"문제가 해결됨"
```

티켓을 닫고 "문제가 해결됨"을 사유로 기록합니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ticketking.xyz/docs/ko/bot-commands/close.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
