JSPM

discord-transcript-generator

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19
  • Score
    100M100P100Q46075F
  • License MIT

A command-line utility to generate transcripts from a Discord channel

Package Exports

  • discord-transcript-generator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (discord-transcript-generator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

discord-transcript-generator

npm node

discord-transcript-generator is a command-line utility that generates a Markdown transcript for a given day from a Discord Channel's chat logs. This was developed as a way to easily generate transcripts for ESLint Technical Steering Committee meetings.

Installation

npm install discord-transcript-generator

or

yarn add discord-transcript-generator

The utility can be installed and used locally or globally.

Usage

Prerequisites

A registered Discord bot is required to use this utility. If you haven't already done so, please follow the instructions here to set one up.

CLI usage

When used on the command-line, please use the following arguments.

Arguments

date: The date to generate the transcript from. This should be a valid date for JavaScript's Date constructor. It is treated as UTC.

output: An output file path. This is resolved relative to the current working directory.

id: The ID of the Discord Channel to generate the transcript from.

token: The token for the registered Discord bot. The user must first register a Discord Bot and add it to their server to use this utility.

name (optional): The name of the meeting. Used to add a title to the generated transcript. If not given, only the given date will appear in the title.

Example

generate-discord-transcript \
  --date=5/21/2020 \
  --output=./path/to/transcripts/2020-05-21.md \
  --id=735298510354839572 \
  --token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 \
  --name="ESLint TSC Meeting"