From 4f7c2f645882746550563508c08d3d017782b8b8 Mon Sep 17 00:00:00 2001 From: Daniel H Date: Mon, 24 Oct 2022 01:55:46 +0200 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index ca05d17..bf8da1e 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,19 @@ Projector Bot V3, written in rust this time. [V2](https://github.com/tudbut/projectorbotv2_full) +## How to run jt + +First, install this by [installing the rust toolchain](https://rustup.rs) and then running +`cargo install --git ` followed by the link to this repo. + +Afterwards, you can use it like this +``` +$ ytdl -q 18 -o vid.out https://youtu.be/FtutLA63Cp8 # download a video to vid.mp4 +$ projbotv3 $(cat bot-token) # assuming there is a file called bot-token containing the bot token +``` + +The bot will now convert the video into its preferred format and then connect to discord. + ### Useful commands ~~So far, V3 isn't fully automatically converting the images. Either use V2 for that, or run