Skip to content

King's Choice discord bot for Uncharted Waters event. Share ports info fast and easily, upload screenshot and it will automatically update google sheet with values.

Notifications You must be signed in to change notification settings

Nikkoro/uncharted-waters-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uncharted-waters-bot

Requirements

  • .env file in base directory (>click<)

  • Google account data in json format in base directory ( >click<)

  • config.json in src directory (>click<)

Installation

npm install

Usage

npm run start
npm run start:dev # with nodemon

Example env

DISCORD_TOKEN=your-token
CHANNEL_ID=your-channel-id
GOOGLE_ACCOUNT_DATA=path-to-google-json
GOOGLE_SHEET_ID=your-sheet-id
GOOGLE_SHEET_TITLE=your-sheet-title

Google account data

GOOGLE_ACCOUNT_DATA is a path to a json file with google account data. See https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount

Discord config

{
  "token": "token",
  "clientId": "client-id",
  "guildId": "guild-id"
}

About

King's Choice discord bot for Uncharted Waters event. Share ports info fast and easily, upload screenshot and it will automatically update google sheet with values.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published