For convenient automation of interactions with Google Sheets.
For change log check CHANGELOG.md
- Create a project directory, e.g.
cd ~ && mkdir WowDiscordRaidHelperBot && cd WowDiscordRaidHelperBot - Download
docker-compoes.ymlto your docker host, e.g.wget https://raw.githubusercontent.com/znibb/WowDiscordRaidHelperBot/master/docker-compose.yml - Download
.env-remplateto.env, e.g.wget -O .env https://raw.githubusercontent.com/znibb/WowDiscordRaidHelperBot/main/.env-template - Download
config.json-templatetoconfig.json, e.g.wget -O config.json https://raw.githubusercontent.com/znibb/WowDiscordRaidHelperBot/main/config.json-template - Copy the channel IDs of the channel where you want the bot to listen to commands and output announcements to
BOT_CMD_CHANNEL_IDandBOT_ANNOUNCE_CHANNEL_IDfields respectively in.env
- Go to
http://discordapp.com/developers/applications - Create a new application
- Go to
Botsub menu and create a bot user - Copy the bot TOKEN and paste it into the
DISCORD_TOKENfield in.env - From the
Botsub menu make sureSERVER MEMBERS INTENTis enabled - Go to
OAuth2sub menu - In
SCOPESselectbotand inBOT PERMISSIONSselectView Channels,Send Message,Manage MessagesandEmbed Links - Copy the generated URL and paste it into your web browser of choice
- Select which server to add bot user to
- Go to
https://console.cloud.google.com/apis/credentialsand log in - Create a project
- Select Credentials -> Create Credentials -> Service account
- Enter a suitable
Service account nameandService account description, what you name it doesn't matter, it's just what will be shown in access logs later on - Click Continue
- Enter
EditorunderSelect a role. - Click Done
- Click your newly created Service account in the list and go to the
KEYStab - Click
ADD KEY->Create new key - Select Key type
JSONand clickCREATE - You will be prompted to download the created file, save it in the project directory (e.g.
~/WowDiscordRaidHelperBot) asgoogle_key.json(THIS FILE IS SECRET, SHOULD BE HANDLED WITH CARE AND SHOULD NOT BE DISTRIBUTED) - Go to the
DETAILStab and copy the account email - Go to your Google Sheet, click
File->Shareand add the email from last step with editor rights. - Copy the URL to your sheet and paste it into the
SPREADSHEET_URLfile in.env
- From the repo dir, run
docker-compose up -d
The information linking your raids to worksheets resides in config.json.