Discord.js bot for retrieving station data from https://aprs.fi
- Follow the guide here for creating your bot
- Clone this repository locally
- Navigate to the bot directory and run
npm ci
- Rename
config.example.json
toconfig.json
and replace the tokens, timezone, and embed color with your own. - Using Node.js v18.16.0, run
src/node bot.js
?loc callsign
to retrieve location information.?wx callsign
to retrieve weather data.
Replace callsign
with your device's callsign.
- Handle empty/additional fields in the response data for different types of stations