{"id":16865460,"url":"https://github.com/pocc/bga_discord","last_synced_at":"2025-08-04T02:06:29.687Z","repository":{"id":50504752,"uuid":"265523312","full_name":"pocc/bga_discord","owner":"pocc","description":"Discord bot to create games on Board Game Arena","archived":false,"fork":false,"pushed_at":"2022-05-04T03:19:56.000Z","size":200,"stargazers_count":11,"open_issues_count":13,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-17T04:07:37.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pocc.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}},"created_at":"2020-05-20T09:59:00.000Z","updated_at":"2023-10-07T19:00:00.000Z","dependencies_parsed_at":"2022-09-21T13:00:16.800Z","dependency_job_id":null,"html_url":"https://github.com/pocc/bga_discord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pocc/bga_discord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocc%2Fbga_discord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocc%2Fbga_discord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocc%2Fbga_discord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocc%2Fbga_discord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pocc","download_url":"https://codeload.github.com/pocc/bga_discord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pocc%2Fbga_discord/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268639706,"owners_count":24282665,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T14:47:10.519Z","updated_at":"2025-08-04T02:06:29.639Z","avatar_url":"https://github.com/pocc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BGA Discord\n\n[![Build Status](https://travis-ci.com/pocc/bga_discord.svg?branch=master)](https://travis-ci.com/pocc/bga_discord)\n\n![](https://i.imgur.com/KgvqoU0.png)\n\nThis is a bot to help you set up [board game arena](https://boardgamearena.com) (BGA)\nand [terraforming mars](https://github.com/bafolts/terraforming-mars) (TFM) games in discord.\n\nYou can add the bot to your server by [giving it access](https://discord.com/api/oauth2/authorize?client_id=711844812424216598\u0026permissions=79872\u0026scope=bot).\n\nThese commands will work in any channel @BGA is on and also as direct messages to @BGA.\n\n## Available commands\n\nBGA commands start with `!bga` and TFM games start with `!tfm`\n\nCheck one of the help documents for more information about each subcommand:\n\n* `bga`: [BGA Help](src/docs/bga_help_msg.md)\n* `tfm`: [TFM Help](src/docs/tfm_help_msg.md)\n\n## Server Bot Setup\n\n**NOTE: This section is for hosting this bot yourself. To add it to your server, use [this link](https://discord.com/api/oauth2/authorize?client_id=711844812424216598\u0026permissions=79872\u0026scope=bot).**\n\nRun the following on any VPS\n\n```bash\npip install -r requirements.txt\n```\n\nFollow the steps required to [set up a Discord bot account](https://discordpy.readthedocs.io/en/latest/discord.html) with the following privileged gateway intents:\n\n- Server Members Intent\n\nAdd the following permissions:\n\n- Send Messages\n- Send TTS Messages\n- Manage Messages\n- Read Message History\n\nCreate a file called `src/keys.py` and paste the bot token into it:\n\n```\nTOKEN = 'yOUR tOkeN hEre'\n```\n\nGenerate an encryption key with:\n\n```bash\n( umask 077 \u0026\u0026 python -c 'from cryptography.fernet import Fernet; print(\"FERNET_KEY = %s\" % Fernet.generate_key())' \u003e\u003e src/keys.py )\n```\n\nRun:\n\n```bash\nmake run\n```\n\n## License\n\nApache2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocc%2Fbga_discord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpocc%2Fbga_discord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpocc%2Fbga_discord/lists"}