Skip to main content
Glama

discord_reply_message

Reply to a specific message in a Discord channel by providing the channel ID, message ID, and reply content.

Instructions

Reply to a specific message in a channel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
channel_idYes
message_idYesThe message ID to reply to.
contentYes

Implementation Reference

  • The handler implementation for the `discord_reply_message` tool, which fetches the target channel and message, then executes a reply action.
    case "discord_reply_message": {
      const channel = await getTextChannel(args.channel_id as string);
      const target = await channel.messages.fetch(args.message_id as string);
      const sent = await target.reply(args.content as string);
      return { content: [{ type: "text", text: `✅ Reply sent (id: ${sent.id}) to message ${args.message_id} in #${channel.name}.` }] };
    }
  • The tool definition and input schema for `discord_reply_message`.
      name: "discord_reply_message",
      description: "Reply to a specific message in a channel.",
      inputSchema: {
        type: "object",
        properties: {
          channel_id: { type: "string" },
          message_id: { type: "string", description: "The message ID to reply to." },
          content: { type: "string" },
        },
        required: ["channel_id", "message_id", "content"],
      },
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PaSympa/discord-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server