crypto-discord-bot
所属分类:加密货币
开发工具:JavaScript
文件大小:4KB
下载次数:0
上传日期:2021-03-05 13:54:57
上 传 者:
sh-1993
说明: 一个获取加密货币价格和新闻的discord机器人。
(A discord bot that fetches cryptocurrency prices and news.)
文件列表:
bot.js (2775, 2021-03-05)
package-lock.json (5238, 2021-03-05)
package.json (446, 2021-03-05)
# crypto-discord-bot
A discord bot that fetches cryptocurrency prices and news.
| Command | Description |
| ---------------------------------- |:-------------------------------------------------------------------------------: |
| !ping | Checks if the bot is online and working |
| !price | Fetches the price of a crypto with respect to another currency or cryptocurrency |
| !news | Fetches the latest news related to cryptocurrency |
| !help | Replies with all commands available and their description |
## To run the bot:
1. Clone the repo
2. Create an `.env` file and add `DISCORD_BOT_TOKEN` and `NEWS_API_KEY`
3. Run the bot using `node bot`
## Credits
[DiscordJS](https://discord.js.org/)
[CoinGecko](https://www.coingecko.com/)
[News API](http://newsapi.org/)
近期下载者:
相关文件:
收藏者: