This guide walks you through setting up and running the Discord bot that integrates with Google Sheets for inventory management.
A preformatted sheet is provided. Copy it into your own Drive:
- Go to the Google Cloud Console API Library and Enable the Sheets API.
- Navigate to APIs & Services > Credentials.
- Create Service Account, grant it the Editor role.
- Create key (JSON) and download it. (rename this to my-service-account.json)
- Share your copied sheet with the service account’s email (found in the JSON under
client_email). - Fill out the .env with your bot and sheet information
run npm install node bot.js