Skip to content

A python tool for downloading the entirety of a chat history that a Bot has access to.

License

Notifications You must be signed in to change notification settings

dhdavvie/DiscordChatDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DiscordChatDownloader

A python tool for downloading the entirety of a chat log you have access to.

UNIX Setup

Requires Python 3.5+.

Install the discord.py library:

$ python3 -m pip install -U discord.py

Then clone the directory and make file executable:

$ git clone https://github.com/dhdavvie/DiscordChatDownloader.git
$ cd DiscordChatDownloader
$ chmod +x DiscordChatDownloader.py

Usage:

$ ./DiscordChatDownloader.py {bot_token} {channel_id} {output_file}
or
$ python3 DiscordChatDownloader.py {bot_token} {channel_id} {output_file}

This is intended to be used with a Bot Token! Here are instructions on getting a Bot Token. You can get the channel_id by following the steps here. The output_file is simply the name of the file you wish to output the chat log to (ie chatlog.txt)

About

A python tool for downloading the entirety of a chat history that a Bot has access to.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages