Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplediscordbotsjs/discord-autofeed-bot
https://github.com/simplediscordbotsjs/discord-autofeed-bot
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/simplediscordbotsjs/discord-autofeed-bot
- Owner: SimpleDiscordBotsJS
- License: gpl-3.0
- Created: 2022-05-17T19:15:36.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T22:06:17.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T01:07:39.038Z (over 1 year ago)
- Language: JavaScript
- Size: 196 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Discord-AutoFeed-Bot
It's a template for discord botAdvantages:
- It's a template...
- Handler's
- quick.db---
> # Instructions
## Customizing the config.json File
```json
{
"BOT_TOKEN": "ENTER_DISCORD_BOT_TOKEN", //required"DEBUG_EVENT": false,
"CNN_FEED": {
"ENABLED": false,"CHANNEL_ID": "ENTER_DISCORD_CHANNEL_ID"
},"HABR_FEED": {
"ENABLED": false,"CHANNEL_ID": "ENTER_DISCORD_CHANNEL_ID"
},"YOUTUBE_FEED": {
"ENABLED": false,"MESSAGE": "New video: **{videoTitle}**! It was uploaded by {videoAuthorName} at {videoPubDate}! Here is the link: {videoURL}",
"YOUTUBE_CHANNELS": [ //Youtube channel name or link
"Pewdiepie",
"https://www.youtube.com/channel/UCGyqi4UW3on0jK1W5reea1w"
],"DISCORD_CHANNEL_ID": "ENTER_DISCORD_CHANNEL_ID",
"YOUTUBE_API_KEY": "YOUR_YOUTUBE_API_KEY"
},"TWITCH_FEED": {
"ENABLED": false,"STREAMERS": [ //Twitch streamer name or link
"Wirtual",
"https://www.twitch.tv/shieldhub"
],"TWITCH_CLIENT_ID": "ENTER_TWITCH_APPLICATIONS_CLIENT_ID",
"TWITCH_CLIENT_SECRET_KEY": "ENTER_TWITCH_APPLICATIONS_CLIENT_SECRET_API_KEY","DISCORD_CHANNEL_ID": "ENTER_DISCORD_CHANNEL_ID"
}
}
```
The bot token can be copied in the Bot section of [your application](https://discord.com/developers/applications)## To run locally, you need Node.JS
- [Download Node.JS](https://nodejs.org/en/)## Start
```sh
node .
```---
> ## pm2
>
> Installation pm2
>
>
> ## Install pm2
> ```sh
> npm install --global pm2
> ```
>
> ## Startup
> - [Check this](https://futurestud.io/tutorials/pm2-restart-processes-after-system-reboot)
>
> ## Starting
> ```sh
> pm2 start . --name "Code bot" --watch
> ```
>
> ## Base commands for Neophyte's
> ```sh
> pm2 list - show all process
>
> pm2 stop (id) - stopping process
>
> pm2 logs (. or id) - show logs
> ```
> more in `pm2 -h` or [this](https://pm2.keymetrics.io/docs/usage/quick-start/) and Google 😉
>
> ---
>
> ## If you want to use nodemon and pm2
> - [Check this](https://stackoverflow.com/questions/69457892/nodemon-watch-vs-pm2-watch)
>
>---
> ## Contribution
​
Please make sure to read the [Contributing Guide](CONTRIBUTING.md) before sending an issue or making a pull request.