Skip to main content

Discord Loader

pip install llama-index-readers-discord

This loader loads conversations from Discord. The user specifies channel_ids and we fetch conversations from those channel_ids.

Usage

Here's an example usage of the DiscordReader.

import os

from llama_index.readers.discord import DiscordReader

discord_token = os.getenv("DISCORD_TOKEN")
channel_ids = [1057178784895348746]  # Replace with your channel_id
reader = DiscordReader(discord_token=discord_token)
documents = reader.load_data(channel_ids=channel_ids)

This loader is designed to be used as a way to load data into LlamaIndex.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llama_index_readers_discord-0.6.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llama_index_readers_discord-0.6.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file llama_index_readers_discord-0.6.0.tar.gz.

File metadata

  • Download URL: llama_index_readers_discord-0.6.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_discord-0.6.0.tar.gz
Algorithm Hash digest
SHA256 33f49fcdd70637400bcd6d0d52690f9a359f3deee5ca9d6d2231dd5c16203586
MD5 572635319dd74e7e5948ee0e7b3e5a1f
BLAKE2b-256 3acb3c89ae4f88b76b32d539d244caa7a5ad692be92a02358a89ced12e0c00e0

See more details on using hashes here.

File details

Details for the file llama_index_readers_discord-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: llama_index_readers_discord-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.7 {"installer":{"name":"uv","version":"0.12.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for llama_index_readers_discord-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11ef2e6c7032304913b67453f8dabd049d3d885ef9d291c06ba512def60572ae
MD5 2d07c994d67203d87dcd54ce1afac907
BLAKE2b-256 0a95aead8f0ffba6edcc8817aa96953c2895c3208a7d60fd934b265cf88999d3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page