/all_clusterslists all clusters which have submitted valid deposit files/clusterlist the name of the cluster of the command submitter/info <CLUSTER NAME>list info for that cluster (captain, members, status link and monitoring token)
- Create a
config.jsonfile with the following command:
cp config.sample.json config.json-
Edit the
config.jsonby inserting yourclientId: APPLICATION_CLIENT_ID present in the specific application in https://discord.com/developers/applications.guildId: DISCORD_SERVER_ID (right-click on server icon with developer mode activated)token: APPLICATION_BOT_TOKEN is generated on the discord developer portal for the bot.spreadsheetid: GOOGLE_SPREADSHEET_ID is contained in the url of your target google spreadsheet
-
Permissions are generated on developer portal, OAuth2 inside Settings. Mark
botandapplications.commands. -
Download a
credentials.jsonfile from Google Cloud Console- Create a new project
- Enable APIs and Services > Search for and Install Google Sheets
- Credentials > New Service Account > copy the generated email address
- Share your spreadsheet with the email address generated
- Go back to your Service Account > Keys > Add Keys and Download JSON
- Place downloaded JSON in this repository
- Rune
npm ito install the dependencies - Run
node deploy_commands.jsto sync the bot with you discord server, which is specified byguildId.
- Run
node index.js.