2 releases
0.2.1 | Aug 11, 2020 |
---|---|
0.2.0 | Aug 11, 2020 |
#102 in #discord-bot
18KB
427 lines
☁ imgdl cli
a cli app to recursively download images from a Discord channel
installing
# 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
updating
cargo install imgdl
setup
# 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
usage
# now you can start downloading images!
# download the whole channel
imgdl 552210716036300810
# download all messages after the message Id provided
imgdl 552210716036300810 742608474751500299
Dependencies
~14–28MB
~385K SLoC