Skip to content

michaeljohnstoncode/TwitchClipDownloadDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwitchClipDownloadDiscordBot

Create twitch clips and download them through your own discord bot

Usage

  1. First, compile the program in your desired configuration.
  2. Next, navigate to the ${SolutionDir}/${ProjectDir}/bin/${SelectedConfiguration}/ output folder.
  3. Open config.json and complete the 4 strings. See installation below
  4. Run the executable ClipDownloadDiscordBot.exe
  5. Call commands in discord

Arguments

image

Installation

These 4 strings are required: Twitch Client ID, Twitch Client Secret, Discord Bot Token, Discord User ID

  1. Twitch Client ID and Secret

Navigate to https://dev.twitch.tv/console. Twitch will ask you to log in and authorize.

Once logged into your Twitch dev console, click register your application.

Fill out the information for registering your application. OAuth Redirect URL must be "http://localhost:8080/redirect/" image

You will then be given a Twitch Client ID and Client Secret. image

  1. Discord Bot Token

Navigate to https://discord.com/developers/applications.

Once logged in, create New Application, give it any name.

Then, head over to the "Bot" tab on the left side, and Add Bot.

Generate a new Discord Bot Token. image

Then, match these settings to your bot. image

Go to the OAuth2 tab and select URL Generator. Click scopes -> bot, and bot permissions -> administrator

image

Go to the link that is generated and invite your bot to your server!

  1. Discord User ID

Lastly, go to your discord application https://discord.com/app

If developer mode is not already enabled, go to settings > advanced > developer mode on

Go to a server/message where you can see your discord self, right click and copy ID

image

Enter all of these IDs and tokens into config.json

Goal/Purpose

This program streamlines the process of getting a live twitch clip, and downloading that to file. The intention behind this program was to create content faster. It allows me to clip the streamer's reaction, and send it straight to a folder used by video editing software. And since videos are downloaded using Youtube-DL, any video supported by it may also be downloaded (youtube, twitter, reddit, etc).

About

Create twitch clips and download them by using a discord bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages