go build discord-drive.go
-
create .env file
TOKEN=YOUR-DISCORD-BOT-TOKEN CHANNELID=STORAGE-CHANNEL-ID PORT=5000 CHUNKSIZE=10000000
-
execute
- WebUI mode
./discord-drive
- Command line mode
./discord-drive -c -u path/to/file
./discord-drive -c -d filename