Announcement Bot announce who joins/leaves a discord voice channel
- Discord4j
- Google cloud api
- Lavaplayer
- ANNOUNCEMENT_BOT_TOKEN
- GOOGLE_APPLICATION_CREDENTIALS
Since GOOGLE_APPLICATION_CREDENTIALS is a json file, we have to mount it on the container volume and then set the environment variable to mount point
docker run -v $GOOGLE_APPLICATION_CREDENTIALS:/tmp/keys/[FILE_NAME].json:ro -e ANNOUNCEMENT_BOT_TOKEN -e GOOGLE_APPLICATION_CREDENTIALS=/tmp/keys/[FILE_NAME].json [IMAGE ID]