/all_clusters
lists all clusters which have submitted valid deposit files/cluster
list 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.json
file with the following command:
cp config.sample.json config.json
-
Edit the
config.json
by 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
bot
andapplications.commands
. -
Download a
credentials.json
file 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 i
to install the dependencies - Run
node deploy_commands.js
to sync the bot with you discord server, which is specified byguildId
.
- Run
node index.js
.