discord_get_message_history
Retrieve message history from a Discord channel by specifying channel ID, with options to filter by time, limit message count, or fetch messages around a specific ID.
Instructions
Get message history from a Discord channel with optional filtering
Input Schema
Name | Required | Description | Default |
---|---|---|---|
after | No | Get messages after this message ID | |
around | No | Get messages around this message ID | |
before | No | Get messages before this message ID | |
channelId | Yes | The Discord channel ID | |
limit | No | Number of messages to retrieve (1-100, default: 50) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"after": {
"description": "Get messages after this message ID",
"type": "string"
},
"around": {
"description": "Get messages around this message ID",
"type": "string"
},
"before": {
"description": "Get messages before this message ID",
"type": "string"
},
"channelId": {
"description": "The Discord channel ID",
"type": "string"
},
"limit": {
"description": "Number of messages to retrieve (1-100, default: 50)",
"maximum": 100,
"minimum": 1,
"type": "number"
}
},
"required": [
"channelId"
],
"type": "object"
}