Crates.io | imgdl |
lib.rs | imgdl |
version | 0.2.1 |
source | src |
created_at | 2020-08-11 05:13:15.245002 |
updated_at | 2020-08-11 05:25:47.850351 |
description | a cli app to recursively download images from a Discord channel |
homepage | |
repository | https://github.com/fyko/imgdl-bot |
max_upload_size | |
id | 275256 |
size | 58,656 |
a cli app to recursively download images from a Discord channel
# make sure you have the rust toolchain installed
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# development: cargo install --git https://github.com/fyko/imgdl-bot --branch cli
cargo install imgdl
cargo install imgdl
# https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot
# take the token from your bot application and put it in "token_here" below
# eg: imgdl config set token NzA3OTk1NjY1NjYxMTY1NTY4.XrQ6WA.Vgc2FNkBKbsCu4Mq3pqj3Nj2Bp4
imgdl config set token token_here
# now you can start downloading images!
# download the whole channel
imgdl 552210716036300810
# download all messages after the message Id provided
imgdl 552210716036300810 742608474751500299