singulart ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
..
src ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
.gitignore ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
README.md ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
config.ts ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
licenses.json ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
package.json ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
query_params.json ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
request.json ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
tsconfig.json ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
videos_query.graphql ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred
yarn.lock ebbd4a9044 Imrove th structure of contributions folder 3 rokov pred

README.md

Joystream Discord Video Bot

This Discord bot announces new video uploads.

Installation

git clone https://github.com/Joystream/community-repo
cd community-repo/community-contributions/joystreamvideobot 
yarn && yarn run build

Configuration

Get the channelid

You should use the channnel id instead of it's name. How to get the channel id of a channel: 1- Open up your Discord Settings 2- Go to Appearance 3- Tick Developer Mode (And close the Discord settings) 4- Right click on your desired channel 5- Now there's an option Copy ID to copy the channel id

Open config.ts and set channelId. Run yarn && yarn run build to apply your changes.

Get the Discord Token

Follow the procedure

Running the bot

TOKEN=<YOUR DISCORD TOOKEN HERE> node lib/src/bot.js