{"id":17722595,"url":"https://github.com/nickoehler/brawlhalla_bot","last_synced_at":"2025-05-06T21:22:41.087Z","repository":{"id":152737574,"uuid":"622858952","full_name":"NicKoehler/brawlhalla_bot","owner":"NicKoehler","description":"Work in progress / experimental open source rewriting of the original t.me/brawltool_bot","archived":false,"fork":false,"pushed_at":"2024-01-12T10:48:18.000Z","size":1639,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-12T20:06:58.540Z","etag":null,"topics":["brawlhalla","brawlhalla-api","brawlhalla-bots","pyrogram","pyrogram-bot","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NicKoehler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-03T07:57:21.000Z","updated_at":"2023-12-22T22:15:07.000Z","dependencies_parsed_at":"2024-01-12T11:54:27.247Z","dependency_job_id":null,"html_url":"https://github.com/NicKoehler/brawlhalla_bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicKoehler%2Fbrawlhalla_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicKoehler%2Fbrawlhalla_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicKoehler%2Fbrawlhalla_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NicKoehler%2Fbrawlhalla_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NicKoehler","download_url":"https://codeload.github.com/NicKoehler/brawlhalla_bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252770010,"owners_count":21801463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brawlhalla","brawlhalla-api","brawlhalla-bots","pyrogram","pyrogram-bot","telegram","telegram-bot"],"created_at":"2024-10-25T15:38:46.101Z","updated_at":"2025-05-06T21:22:41.060Z","avatar_url":"https://github.com/NicKoehler.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ccenter\u003e\u003cimg src=\"https://raw.githubusercontent.com/NicKoehler/brawlhalla_bot/main/logo.svg\" alt=\"logo\" width=\"400\"/\u003e\u003c/center\u003e\n\n# Brawlhalla Telegram Bot\n\nOpen source rewriting of the original [Brawl Tool](https://t.me/brawltool_bot).\n\n# Table of contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [License](#license)\n- [Contributions](#contributions)\n\n## Installation\n\n1.  [Optional] Create and activate a virtual enviroment:\n\n    ```sh\n    python -m venv venv\n    ```\n\n    linux - macos\n\n    ```sh\n    source venv/bin/activate\n    ```\n\n    windows\n\n    ```powershell\n\n    .\\venv\\Scripts\\activate\n    ```\n\n2.  Install the requirements:\n    ```\n    pip install -r requirements.txt\n    ```\n3.  Create a .env file:\n\n    ```sh\n    cp .env.example .env\n    ```\n\n    edit the .env file and add the following variables:\n\n    ```\n    API_ID=XXXXXX\n    API_KEY=XXXXXXXXXXXXXXXXX\n    API_HASH=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n    BOT_TOKEN=XXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n    DATABASE_URL=postgres://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n    FLOOD_WAIT_SECONDS=60\n    CLEAR_TIME_SECONDS=3600\n    ```\n\n    \u003e You can find the **API_ID** and **API_HASH** logging on https://my.telegram.org.\n\n    \u003e Speak with [@BotFather](https://t.me/BotFather) to generate your **BOT_TOKEN**.\n\n    \u003e To use the Brawlhalla API, you need to provide an **API_KEY**. Send an email to api@brawlhalla.com to request one.\n\n4.  Push prisma db:\n    ```sh\n    prisma db push\n    ```\n\n## Usage\n\nStart the bot with:\n\n```sh\npython src/bot.py\n```\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contributions\n\nContributions to this project are welcome. To contribute, follow these steps:\n\n1. Fork the repository\n2. Create a new branch for your changes\n3. Make your changes and commit them with clear commit messages\n4. Push your changes to your forked repository\n5. Submit a pull request\n\n\u003e Before making any significant changes, please open an issue to discuss the changes you plan to make.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickoehler%2Fbrawlhalla_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickoehler%2Fbrawlhalla_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickoehler%2Fbrawlhalla_bot/lists"}