Discord is an instant messaging, voice, and video communication platform widely used by communities of all types.
Installation and Setup
Install thelangchain-discord-shikenso package:
DISCORD_BOT_TOKEN is not set, the tools will raise a ValueError when instantiated.
Tools
Below is a snippet showing how you can read and send messages in Discord. For more details, see the documentation for Discord tools.Toolkit
DiscordToolkit groups multiple Discord-related tools into a single interface. For a usage example, see the Discord toolkit docs.
Future Integrations
Additional integrations (e.g., document loaders, chat loaders) could be added for Discord. Check the Discord Developer Docs for more information, and watch for updates or advanced usage examples in the langchain_discord GitHub repo.Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.