Skip to content

A bot for IPL that creates downloadable twitch clips for social media. This app is now outdated! Please check out https://github.com/IPLSplatoon/IPL-Media-Creator

License

Notifications You must be signed in to change notification settings

drB-dotjpg/IPL-Stream-Highlight-Creator

Repository files navigation

IPL Stream Highlight Creator 🎥

A Discord bot application that takes a twitch clip link, adds an intro overlay to it, and uploads as a downloadable video to discord. Intended to assist creating tournament highlights for IPL's social media pages.

Required To Run:

NPM packages used:

Using the bot:

In the project directory, you will need to create a file called config.json. In this file, you need to provide a bot token, server ID, and bot client ID. It should look something like this.

{
    "token": "token goes here",
    "guildId": "server id goes here",
    "clientId": "bot client id goes here",

    "encoder": "encoder goes here (use h264 or anything that suits your device!)",

    "s3_keyId":"",
    "s3_secretAccessKey":"",
    "s3_endpoint":"",
    "s3_bucket":"",
    "s3_path":""
}

You will also need to provide your own intro videos to the project. In the project directory, create a folder called overlays. Intro videos should be put in this folder, they also must be in .webm format. You will need to modify highlight.js to actually be able to use your overlay.

You must run deploy-commands.js before launching the bot if you change the server id in config.json.

To launch the bot, run index.js.

Other notices

This bot is limited to being active in one server only, and I only expect one user using it at a time. While some testing shows it can handle processing multiple clips at once, do not be suprised if it fails in these cases.

About

A bot for IPL that creates downloadable twitch clips for social media. This app is now outdated! Please check out https://github.com/IPLSplatoon/IPL-Media-Creator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published