News-Bot-Discord
所属分类:聊天室
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-11-16 06:42:26
上 传 者:
sh-1993
说明: 使用制作的简单Discord机器人DiscordJS@14和NewsAPI来检索科技新闻
(Simple Discord bot made with DiscordJS@14 and NewsAPI to retrieve Tech and Science news)
文件列表:
LICENSE (1065, 2023-11-15)
commands/ (0, 2023-11-15)
commands/news/ (0, 2023-11-15)
commands/news/sci.js (3221, 2023-11-15)
commands/news/tech.js (3220, 2023-11-15)
main.js (3358, 2023-11-15)
package-lock.json (22876, 2023-11-15)
package.json (401, 2023-11-15)
# Discord News Bot
```
uses @discord.js14
Simple Discord bot made with DiscordJS@14 and NewsAPI to retrieve Tech and Science news
```
## Features
- Fetches news articles based on tech and science categories.
- Allows navigation through articles using interactive buttons.
- Modern Embed UI.
## Installation
```
To run this bot locally, follow these steps:
1. Clone the repository.
2. Install dependencies using `npm install`.
3. Change the related API constants in command files and main file.
4. Run the bot using `npm start`.
```
## Commands
- `/tech`: Retrieves the latest technology news.
- `/sci`: Retrieves the latest science news.
## Preview
## Dependencies
- [discord.js](https://discord.js.org/): Library for interacting with Discord API.
- [node-fetch](https://www.npmjs.com/package/node-fetch): For making HTTP requests.
## Credits
This bot is created by @gaveshaaa (this template is heavily influnced by documentation).
## License
This project is licensed under the [MIT License](LICENSE).
近期下载者:
相关文件:
收藏者: