GithubHelp home page GithubHelp logo

discord-to-json's Introduction

discord-to-json
JDK 17 LICENSE version

OverviewUsageProject dependenciesLicense

Overview

Export Discord messages to JSON (message content, author name, and date ; it does not download attachments)

Disclaimer: this is probably very much against Discord's TOS. I am not responsible if you have any issues with Discord after using this program. Use it with knowledge of the consequences it may have, and use it for personal, harmless, non-commercial purposes.

Usage

This project requires Java 17 or higher.

Usage: java -jar discord-to-json [options]
  Options:
    --channel, -c
      The Discord channel id, only required if not using URL
    --cycles, -C
      The number of download cycles, < or = to 0 is infinite
      Default: 0
    --delay, -d
      The time between each download cycle
      Default: 5000
    --guild, -g
      The Discord guild id, only required if not using URL
    --help, -h
      Print usage
      Default: false
    --limit, -l
      The number of messages downloaded each cycle
      Default: 70
    --logs, -L
      Keep logs to the desired file path. Example: 'logs.txt'
    --message, -m
      The first message's URL
      (https://discord.com/channels/guildId/channelId/messageId)
    --messageid, -mid
      The first message's id, only required if not using URL
    --output, -o
      Output file name. Will use {date}.json by default
    --replace, -r
      Replace output file if already existing
      Default: false
    --token, -t
      Discord token
    --tokenFile, -tf
      File containing the Discord token
      Default: token
    --debug, --verbose, -D
      Debug/verbose mode
      Default: false
    --version, -v
      Print usage
      Default: false

Project dependencies

See Maven Dependencies.

License

Under the MIT license.

discord-to-json's People

Contributors

alkanife avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.