Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 737 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 737 Bytes

GOOD DAY ( DISCORD BOT )

This discord bot has the ability to provide weather information in the server it belongs to and list the top 10 most popular songs in Turkiye. This bot serves as a starting point for those who want to code a basic discord bot. OpenWeatherMap API is used for weather information and Spotify API is used for music list. The necessary functions are prepared with their tests.

Packages

    "axios": "^1.6.5",
    "discord.js": "^14.14.1",
    "dotenv": "^16.4.0",
    "node-fetch": "^2.7.0",
    "node-fetch2": "^1.6.3",
    "nodemon": "^3.0.3",
    "spotify-web-api-node": "^5.0.2"

Test Package

    "jest": "^29.7.0"

Usage

/weather cityName
/popularsongs