-
.env file in base directory (>click<)
-
Google account data in json format in base directory ( >click<)
-
config.json in src directory (>click<)
npm installnpm run start
npm run start:dev # with nodemonDISCORD_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-titleGOOGLE_ACCOUNT_DATA is a path to a json file with google account data. See https://developers.google.com/identity/protocols/oauth2/service-account#creatinganaccount
{
"token": "token",
"clientId": "client-id",
"guildId": "guild-id"
}