discord-news-bot
所属分类:自然语言处理
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2023-08-14 12:09:18
上 传 者:
sh-1993
说明: 直接在您的Discord服务器中随时了解VG的最新头条新闻!,
(Stay updated with the latest headlines from VG directly in your Discord server!,)
文件列表:
.env.example (283, 2023-08-15)
.npmrc (35, 2023-08-15)
.nvmrc (3, 2023-08-15)
package-lock.json (54485, 2023-08-15)
package.json (845, 2023-08-15)
src/ (0, 2023-08-15)
src/commands/ (0, 2023-08-15)
src/commands/news/ (0, 2023-08-15)
src/commands/news/similarNews.ts (2430, 2023-08-15)
src/createApplicationCommands.ts (1678, 2023-08-15)
src/index.ts (3949, 2023-08-15)
src/jobs/ (0, 2023-08-15)
src/jobs/cleanupMessages.ts (1440, 2023-08-15)
src/jobs/editMessages.ts (2800, 2023-08-15)
src/jobs/postMessages.ts (1370, 2023-08-15)
src/types.ts (1016, 2023-08-15)
src/utils/ (0, 2023-08-15)
src/utils/buildContentEmbed.ts (1434, 2023-08-15)
src/utils/getChannel.ts (607, 2023-08-15)
src/utils/getLatestNews.ts (764, 2023-08-15)
src/utils/logger.ts (216, 2023-08-15)
src/utils/postNews.ts (970, 2023-08-15)
tsconfig.json (11719, 2023-08-15)
# VG News Poster Bot for Discord
A Discord bot that posts news articles from [VG.no](https://www.vg.no/) to a Discord channel of your choice.
## Stay Informed with VG.no News
Stay up-to-date with the world's events by receiving timely news updates from VG.no. Our bot ensures that you never miss a headline, whether it's breaking news, entertainment updates, sports scores, or more. Real-time news delivery has never been this convenient!
## Commands
- `/similarnews` - When a user search for a news article, the bot will return a list of similar news articles.
## Installation
### Requirements
- [Node.js](https://nodejs.org/en/) v20 or higher
- [Redis](https://redis.io/) v6 or higher
### Setup
1. Clone the repository
2. Copy the `.env.example` file to `.env` and fill in the required values
3. Install dependencies:
```bash
npm install
```
4. Build the project:
```bash
npm run build
```
5. Start the bot (**Make sure you have Redis running and connected**):
```bash
npm run start
```
## Want to contribute?
Feel free to contribute to this project by creating a pull request. All contributions are welcome!
近期下载者:
相关文件:
收藏者: