Skip to content

apivideo/videoUploadToDiscord

Repository files navigation

badge

badge

badge

api.video Upload a video to discord

api.video is the video infrastructure for product builders. Lightning fast video APIs for integrating, scaling, and managing on-demand & low latency live streaming features in your app.

videoUploadToDiscord

NodeJS app to upload videos to Discord via a Bot.

Try it out at upload.a.video/toDiscord.

Installation

Clone github repo add environmental variables install node dependancies node src/index.js

To run on YOUR Discord channel

  1. connect the apivideo_uploader bot to your channel: https://discord.com/oauth2/authorize?client_id=780911671153000479&scope=bot

  2. In Discord, get the Channel ID:

    • Trun on developer mode - click the settings next to your name
    • appearance - scroll to the bottom - enable developer mode
    • now right click the channel you want the bot in, and right click. Cop[y the id

On the webpage - name and describe the video - paste in the channelId. Then select your video. IT will upload and post automatically to your Discord channel.

This app uses api.video delegated tokens, and posts to the sandbox - where videos are watemarked (and removed after 72 hours). Create your own account & deletgated token at api.vuide.