1.3 KiB
Video Archive Discord Bot
A super simple Discord bot designed for helping you archive videos posted to your channels.
Video Archive Discord Bot will download any video from YouTube, Instagram, Tik Tok, and Reddit linked in a Discord channel it is in, and post the video file directly in a designated archive channel. In cases where the file is too large for Discord's free tier, the video will be compressed to fit first.
Installation & Usage
Requirements: Python 3.10
-
Set Discord access token in
.envasTOKEN=$yourTokenGoesHere -
Make a video archive channel in your discord server.
-
Set Archive channel ID in
.envasARCHIVE=$yourChannelIDGoesHere. You can get this ID by right clicking on the channel and clicking "Copy ID". -
Add the bot to the Discord server you wish to run it in.
-
Ensure the bot has permission to post attachments and messages in the channel.
-
Install required packages with
pip install -r requirements.txt -
Run the bot
python main.py
Notes
Not recommended to be available as a public bot due to the bandwidth and processing requirements of downloading and encoding videos.
Commands to delete files once uploaded does not always work, therefore I recommend running a rm command via crontab frequently.