2个版本
0.2.1 | 2020年8月11日 |
---|---|
0.2.0 | 2020年8月11日 |
#34 in #递归
18KB
427 代码行
☁ imgdl 命令行界面
一个用于递归下载Discord频道的图像的命令行应用程序
安装中
# 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
依赖
~13–26MB
~386K SLoC