A simple telegram bot for showing the location of Xur writen in Golang with go-telegram-bot-api and MongoDB
you can see how the bot works here: https://t.me/Destiny2_Xur_Bot
build docker container:
docker build -t xur_bot .
Set environment variables in docker-compose.yml
:
MONGO_INITDB_ROOT_USERNAME: root_username
MONGO_INITDB_ROOT_PASSWORD: root_password
MONGO_INITDB_DATABASE: bot_users
DESTINY_API_KEY: "your Desyiny 2 api key"
TG_API_KEY: "your telegram api key"
DATABASE: "your mongodb link"
Run docker-compose: docker-compose -f docker-compose.yml up