singulart d1ffa16b75 Adopted Giza testnet Query node API changes | 2 роки тому | |
---|---|---|
.. | ||
src | 2 роки тому | |
.gitignore | 2 роки тому | |
README.md | 2 роки тому | |
config.ts | 2 роки тому | |
licenses.json | 2 роки тому | |
package.json | 2 роки тому | |
query_params.json | 2 роки тому | |
request.json | 2 роки тому | |
tsconfig.json | 2 роки тому | |
videos_query.graphql | 2 роки тому | |
yarn.lock | 2 роки тому |
This Discord bot announces new video uploads.
git clone https://github.com/Joystream/community-repo
cd community-repo/community-contributions/joystreamvideobot
yarn && yarn run build
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.
Follow the procedure
TOKEN=<YOUR DISCORD TOOKEN HERE> node lib/src/bot.js