Skip to main content

interactions-transcript

This project is a improved version of mahtoid's DiscordChatExporterPy library, ported to an extension of interactions.py, another Discord API wrapper, with extra features.

WIP: This extension is currently work-in-progress, which means it might not function well

Installation

Install from PyPi

pip install interactions-transcript

Install from github

pip install git+https://github.com/ItsRqtl/interactions-transcript.git

Build from source

git clone https://github.com/ItsRqtl/interactions-transcript.git
cd interactions-transcript
pip install .

Usage

Loading the extension

from interactions import Client

client = Client(token="...")

client.load("interactions.ext.transcript")

client.start()

Using the extension

await Channel.get_transcript(limit=...)

Another way to use

from interactions import Client
from interactions.ext.transcript import get_transcript
...
await get_transcript(Channel, limit=...)
...
client.start()

Parameters of method get_transcript:

Parameter Type Description Default Value
channel interactions.Channel The channel to get transcript from
limit int The limit of messages to get 100
pytz_timezone str The timezone to use "UTC"
military_time bool Whether to use military time or not False
fancy_time bool Whether to use fancy time or not (only with html mode) False
mode str The mode to use for the transcript (html, json, csv, or plain) "html"

Attributions

This project uses a modified version of the parser, cache, html, and css code from mahtoid's DiscordChatExporterPy library.

License

This project follows the original library and is licensed under the GNU General Public License v3.0. Check the LICENSE for more information.

Metadata

Release files for interactions-transcript 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for interactions-transcript 0.0.4
File Size Uploaded
interactions-transcript-0.0.4.tar.gz 39.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for interactions-transcript 0.0.4
File Interpreter ABI Platform
interactions_transcript-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 87.4 kB

Release files / interactions-transcript-0.0.4.tar.gz

Download URL interactions-transcript-0.0.4.tar.gz
Size 39.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d7ce9962006ad3c4d5099c21d1e964de1ab30a52c735952bbb6f5b1cc326d9e7
BLAKE2b-256 checksum
How to use checksums
f75767c696787e7f2e4dfb48606e9b46853bab10ccf67cf9d1352a177da14b18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release files / interactions_transcript-0.0.4-py3-none-any.whl

Download URL interactions_transcript-0.0.4-py3-none-any.whl
Size 48.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8caa5641b6e95ce90a1d5aeac0d18e0bce31e5df35d9c0f49396f9c57ee5a80e
BLAKE2b-256 checksum
How to use checksums
7e33452f012f39738d1cb8fb8c9849f9b9c3fdafb9bf7a034490e3e1ac77cfbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.4

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release 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