A NodeJS bot for updating a Google Sheet and sending a Discord notification when Fortnite API gets updated.
Google Sheet API is used to update skins on every sheet.
Discord.js is used to send a notification when new skins are added to Google Sheets.
You need add your keys in secret-keys.json for the bot to work.
-
Discord bot token from Discord developer portal
Stored as DISCORD_TOKEN -
Discord notification channel id
Stored as DISCORD_CHANNEL_ID
Instructions on how to get your channel ID here. -
Fortnite API key from fortniteapi.io
Stored as FORTNITEAPI_IO_KEY -
Google Sheet credentials from Google Sheets API
Stored as GOOGLE_SHEET_URL_ID
Example: docs.google.com/spreadsheets/d/GET_YOUR_SHEET_ID_HERE/
Install node dependencies
npm install
Start the bot
npm start