A discord bot for qbittorrent
This application is a discord bot, which can be used to easily manage all your qbittorrent clients by discord message.
See Wiki
After the discord bot is established, You can send a message on the discord channel or dm the bot.
All commands start with !
.
!list [flag]
Flag | Type | Description |
---|---|---|
-s, --server | String | Which server to operate |
-b, --brief | String | return lists in one message |
example:
!list -s serverA
!add [flag]
Flag | Type | Description |
---|---|---|
-s, --server |
String | Which server to operate |
-u, --urls |
String | torrent file url |
-l, --upLimit optional |
String | upload speed limit |
-t, --tags optional |
String | add tag |
-c, --cookie optional |
String | cookie credentials |
-p, --paused optional |
String | don't start torrent |
--part optional |
Number | how much partial file wanted |
example:
!add -s serverA -u https://download.php?id=1 -l 120000000 -p --part 10
!purge [flag]
Flag | Type | Description |
---|---|---|
-s, --server |
String | Which server to operate |
-u, --upspeed optional |
String | torrents which upload speed are under that speed(MB/s) get deleted |
-t, --tracker optional |
String | filter tracker(keyword) |
-n, --name optional |
String | filter torrent name(keyword) |
-f, --filter optional |
String | filter torrent state, default is completed . Allowed state filters: all, downloading, completed, paused, active, inactive, resumed, stalled, stalled_uploading, stalled_downloading |
example:
!purge -s serverA -u 10 -t torrentleech -n BluRay
// delete torrents which tracker have 'torrentleech' keyword AND upload speed are under 10mb/s on serverA
!remove [flag]
Flag | Type | Description |
---|---|---|
-s, --server |
String | Which server to operate |
-h, --hash optional |
String | torrent hash |
-p, --presrveFiles optional |
Boolean | If set to true, the downloaded data will also not be deleted. |
example:
!remove -s serverA -h 04ffb985d5b3ee87fb301ffedd164c7e3650e006
!find [flag]
Flag | Type | Description |
---|---|---|
-s, --server |
String | Which server to operate |
-n, --name * |
String | torrent name keyword |
example:
!find -s serverA -n The.Walking.Dead.S10E10
!info [flag]
Flag | Type | Description |
---|---|---|
-s, --server |
String | Which server to operate |
example:
!info -s serverA
!stats [flag]
Flag | Type | Description |
---|---|---|
-s, --server |
String | Which server to operate |
-t, --tracker optional |
String | filter tracker |
-f, --filter optional |
String | filter torrent state, default is completed . Allowed state filters: all, downloading, completed, paused, active, inactive, resumed, stalled, stalled_uploading, stalled_downloading |