Discord은(는) 무엇을 하나요?
message 도구를 channel: "discord"와 함께 사용하세요. 별도의 Discord 전용 도구는 없습니다.
규칙
channels.discord.actions.*게이트를 존중하세요.- 명시적인
guildId,channelId,messageId,userId를 선호하세요. - 다중 계정: 필요 시
accountId를 전달하세요. - 전송 대상:
to: "channel:<id>"또는to: "user:<id>". - 사용자 멘션:
<@USER_ID>. - 발신 Discord 메시지에서 Markdown 테이블을 사용하지 마세요.
- 풍부한 UI를 위해 v2 컴포넌트를 선호하며, v2
components와 레거시embeds를 혼용하지 마세요.
일반 작업
전송:
{ "action": "send", "channel": "discord", "to": "channel:123", "message": "안녕하세요", "silent": true }
미디어 전송:
{
"action": "send",
"channel": "discord",
"to": "channel:123",
"message": "첨부 파일 확인",
"media": "file:///tmp/example.png"
}
v2 컴포넌트:
{
"action": "send",
"channel": "discord",
"to": "channel:123",
"message": "상태",
"components": "[Carbon v2 components]"
}
반응:
{ "action": "react", "channel": "discord", "channelId": "123", "messageId": "456", "emoji": "👍" }
읽기:
{ "action": "read", "channel": "discord", "to": "channel:123", "limit": 20 }
수정/삭제:
{
"action": "edit",
"channel": "discord",
"channelId": "123",
"messageId": "456",
"message": "오타 수정"
}
{ "action": "delete", "channel": "discord", "channelId": "123", "messageId": "456" }
투표:
{
"action": "poll",
"channel": "discord",
"to": "channel:123",
"pollQuestion": "점심?",
"pollOption": ["피자", "초밥"],
"pollDurationHours": 24
}
핀:
{ "action": "pin", "channel": "discord", "channelId": "123", "messageId": "456" }
스레드:
{
"action": "thread-create",
"channel": "discord",
"channelId": "123",
"messageId": "456",
"threadName": "버그 분류"
}
검색:
{
"action": "search",
"channel": "discord",
"guildId": "999",
"query": "릴리스 노트",
"channelIds": ["123"],
"limit": 10
}
상태 설정 (주로 게이트 제어):
{
"action": "set-presence",
"channel": "discord",
"activityType": "playing",
"activityName": "OpenClaw",
"status": "online"
}