Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sbence/vidcord
- Owner: SBence
- Created: 2022-06-26T15:06:53.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-05T11:46:08.000Z (15 days ago)
- Last Synced: 2024-11-05T12:50:32.778Z (15 days ago)
- Topics: discord, discord-api, discord-bot, discord-js
- Language: TypeScript
- Homepage:
- Size: 385 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.