Video Archive Discord Bot

First commit. All changes to convert the bot into a video archive discord bot.
This commit is contained in:
thewesker
2021-05-03 15:11:49 -04:00
parent 54491985e6
commit b947f2a7c3
3 changed files with 41 additions and 28 deletions

View File

@@ -1,23 +1,25 @@
# TikBot
A super simple Discord bot designed for helping you share TikToks without actually having to have your friends open TikTok.
# Video Archive Discord Bot
A super simple Discord bot designed for helping you archive videos posted to your channels.
TikBot will download any TikTok (or other supported link in youtube-dl) linked in a Discord channel it is in, and post the video file directly.
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 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 2/3
Requirements: Python 3
1. Set Discord access token into ```.env``` as ```TOKEN=$yourTokenGoesHere```
1. Set Discord access token in ```.env``` as ```TOKEN=$yourTokenGoesHere```
2. Add the bot to the Discord server you wish to run it in.
2. Make a video archive channel in your discord server.
3. Setup any channel in the Discord server with a name starting with ```tik-tok```
3. Set Archive channel ID in ```.env``` as ```ARCHIVE=$yourChannelIDGoesHere```. You can get this ID by right clicking on the channel and clicking "Copy ID".
4. Ensure the bot has permission to post attachments and messages in the channel.
4. Add the bot to the Discord server you wish to run it in.
5. Ensure the bot has permission to post attachments and messages in the channel.
5. Install required packages with ```pip install -r requirements.txt ```
6. Install required packages with ```pip install -r requirements.txt ```
6. Run the bot ```python main.py```
7. 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.