mcp-discord
by hanweg
moderate_message
Delete a message and optionally timeout the user
Input Schema
Name | Required | Description | Default |
---|---|---|---|
channel_id | Yes | Channel ID containing the message | |
message_id | Yes | ID of message to moderate | |
reason | Yes | Reason for moderation | |
timeout_minutes | No | Optional timeout duration in minutes |
Input Schema (JSON Schema)
{
"properties": {
"channel_id": {
"description": "Channel ID containing the message",
"type": "string"
},
"message_id": {
"description": "ID of message to moderate",
"type": "string"
},
"reason": {
"description": "Reason for moderation",
"type": "string"
},
"timeout_minutes": {
"description": "Optional timeout duration in minutes",
"maximum": 40320,
"minimum": 0,
"type": "number"
}
},
"required": [
"channel_id",
"message_id",
"reason"
],
"type": "object"
}