Oleksii Buistov d205fbe192 typos in readme 3 роки тому
..
src 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
.gitignore 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
README.md d205fbe192 typos in readme 3 роки тому
config.ts 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
licenses.json 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
package.json 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
query_params.json 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
request.json 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
tsconfig.json 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
videos_query.graphql 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому
yarn.lock 8de636163c Community Bounty no.17 - Discord Video Bot 3 роки тому

README.md

Joystream Discord Video Bot

This Discord bot announces new video uploads.

Installation

git clone https://github.com/singulart/joystream-discord-bot
cd joystream-discord-bot
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