Skip to content

A NodeJS bot for updating a Google Sheet and sending a Discord notification when Fortnite API gets updated

Notifications You must be signed in to change notification settings

DaniLecx/Fortnite-GoogleSheet-Bot

Repository files navigation

FortniteSheetBot

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.

Google Sheet

Discord.js is used to send a notification when new skins are added to Google Sheets.

Discord bot

Setup

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

About

A NodeJS bot for updating a Google Sheet and sending a Discord notification when Fortnite API gets updated

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published