A bot that takes script inputs and makes Discord videos!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
·
Planned Changes, Features and Enhancements
Table of Contents
To get a local copy up and running follow these simple example steps.
-
Clone the repo
git clone https://github.com/Westsi/autovid.git
-
Enable the Youtube Data API at Google Cloud Console
-
Make an OAuth Consent screen with sensitive scope
./auth/youtube
. -
Create OAuth client ID credentials and paste them in a new file
client_secrets.json
. Don't worry, the.gitignore
file will stop it from being uploaded.{ "web": { "client_id": "CLIENT-ID-HERE", "client_secret": "CLIENT-SECRET-HERE", "redirect_uris": [], "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://accounts.google.com/o/oauth2/token" } }
The template_script.txt
and template_script_metadata.json
files are templates for scripts. You can make your own, but if they are named differently then you will need to change the names of the files accessed in main.py
lines 52
and 53
. The indents for messages are unnecessary, but the line breaks between different users' messagess are very much necessary.
script = load_script("YOUR-SCRIPT.txt")
script_json = load_script_json("YOUR-SCRIPT-METADATA.json")
Right now, there is only one sound type - boom
. Notification sounds wil automatically play on a new message. There are 6 profile pictures in /pfp
but you can add your own. The default folder for profile pictures is /pfp
. The links
section in template_script_metadata.json
only needs to be filled out for those messages that should be links. All others will default to being false
. Remember that JSON true
and false
are lowercase, while Python's are uppercase.
- Other Video Types
- Custom Errors
- Other Sounds
See the open issues for a full list of proposed features (and known issues). Also see the feature board for planned changes, features and enhancements.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Westsi - westsi@protonmail.com
Project Link: https://github.com/Westsi/autovid