Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taaku18/geoguessr-challenge-bot
A Discord Bot that creates Geoguessr challange links.
https://github.com/taaku18/geoguessr-challenge-bot
Last synced: 4 days ago
JSON representation
A Discord Bot that creates Geoguessr challange links.
- Host: GitHub
- URL: https://github.com/taaku18/geoguessr-challenge-bot
- Owner: Taaku18
- License: mit
- Created: 2024-05-11T12:24:26.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-16T11:31:04.000Z (7 months ago)
- Last Synced: 2024-11-18T07:35:53.246Z (about 1 month ago)
- Language: Python
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Geoguessr Challenge Bot
The Geoguessr Challenge Bot allows your friends to play single-player Geoguessr for free through challenge links. However, you will need a Geoguessr Pro account in order for the bot to create challenges.
How this works:
1. The bot logs into your Geoguessr account through a headless browser.
2. Anyone can use the `/geochallenge` command to create a challenge link.
3. The bot will create a challenge link and send it to the user.Additionally, you can set the bot up to automatically send daily challenge links by using the `/setupgeodaily` command.
Please note that this bot is not affiliated with Geoguessr, and we are not responsible for any consequences that may arise from using this bot. Use at your own risk.
# Installation
Pre-requisites: `docker`. Without Docker works too, but you will need to figure out how to run the bot yourself.
1. Clone this repository.
2. Create a `.env` file in the root directory with the following variables:
```dotenv
DISCORD_BOT_TOKEN=XXX
[email protected]
GEOGUESSR_PASSWORD=password
[email protected]
GEOGUESSR_AUTO_PASSWORD=auto.password
GEOGUESSR_AUTO_USERNAME=auto-username
AUTHORIZED_GUILDS=12345,12345
```
If you want to make the bot public, you can remove the `AUTHORIZED_GUILDS` variable.
If you do not wish to use a dedicated auto-guessing account (doesn't need PRO subscription), you can set `GEOGUESSR_AUTO_EMAIL`, `GEOGUESSR_AUTO_PASSWORD`, and `GEOGUESSR_AUTO_USERNAME` to your main account's details as well. Be aware that your main account's stats will be negatively affected.3. Build the Docker image:
```bash
docker build -t geoguessr-challenge-bot .
```
4. Run the Docker container:
```bash
docker run -d --name geoguessr-challenge-bot --env-file .env --restart on-failure -v data:/geoguessr/data geoguessr-challenge-bot:latest
```# Usage
The bot has the following commands:
- `/geochallenge`: Create a challenge link.
- `/geodaily`: Get the current daily challenge link.
- `/setupgeodaily`: Set up daily challenge links.
- `/cancelgeodaily`: Disable sending daily challenge links.Limitations: At the moment, the bot cannot control who can use the commands. This means that anyone in the server can use the commands.
# License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.