{ "name": "@tpmjs/discord-read", "version": "0.2.0", "description": "AI SDK tool to read messages from a Discord server", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "build": "tsc", "type-check": "tsc --noEmit" }, "keywords": [ "tpmjs", "discord", "ai", "communication" ], "tpmjs": { "category": "communication", "frameworks": [ "vercel-ai" ], "env": [ { "name": "DISCORD_BOT_TOKEN", "description": "Discord bot token with MESSAGE_CONTENT intent", "required": true } ], "tools": [ { "name": "discordReadTool", "description": "Read messages from a Discord server for the past N hours. Fetches all text channels and their messages, filtering by time and optionally excluding bot messages." } ] }, "dependencies": { "ai": "6.0.49" }, "devDependencies": { "@tpmjs/tsconfig": "workspace:*", "typescript": "^5.9.3" }, "publishConfig": { "access": "public" }, "license": "MIT" }