Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sbence/vidcord

A Discord bot that provides extra inforamtion on video links
https://github.com/sbence/vidcord

discord discord-api discord-bot discord-js

Last synced: 5 days ago
JSON representation

A Discord bot that provides extra inforamtion on video links

Awesome Lists containing this project

README

        

# VidCord

## A Discord bot that provides extra inforamtion on video links

## Installation

1. Clone this repository and install the dependencies:

```sh
git clone https://github.com/SBence/vidcord.git
cd vidcord
npm install
```

2. Add your bot token to the `.env` file in the project directory:

```
DISCORD_TOKEN=
```

_For more information on how to create a bot application, [see here](https://discord.com/developers/docs/getting-started#creating-an-app)._

3. Run the application:

```sh
node src/index.js
```

## Bot usage

### Invite the bot to your server

For more information on how to do so, [see here](https://discord.com/developers/docs/getting-started#adding-scopes-and-permissions).

On the _OAuth2 URL Generator_ page, make sure to check **bot** under _Scopes_ and check **Read Messages/View Channels**, **Send Messages** and **Embed Links** under _Bot Permissions_.

The bot will automatically respond with video information when supported links are sent.

## Bot configuration

To prevent the bot from sending messages in certain channels, simply use Discord's permission system to disable the **View Channel** permission for the bot in such channels.