{"id":18357184,"url":"https://github.com/ilevn/firesidebot","last_synced_at":"2025-04-10T01:53:35.397Z","repository":{"id":83510932,"uuid":"237520876","full_name":"ilevn/FiresideBot","owner":"ilevn","description":"A Discord bot for the Fireside Politics server.","archived":false,"fork":false,"pushed_at":"2020-09-29T20:34:15.000Z","size":392,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"0.0.1","last_synced_at":"2025-02-15T17:48:25.140Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilevn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-01-31T21:41:01.000Z","updated_at":"2021-03-02T16:12:25.000Z","dependencies_parsed_at":"2023-10-15T23:15:58.364Z","dependency_job_id":null,"html_url":"https://github.com/ilevn/FiresideBot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilevn%2FFiresideBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilevn%2FFiresideBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilevn%2FFiresideBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilevn%2FFiresideBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilevn","download_url":"https://codeload.github.com/ilevn/FiresideBot/tar.gz/refs/heads/0.0.1","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248142939,"owners_count":21054671,"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":[],"created_at":"2024-11-05T22:13:09.962Z","updated_at":"2025-04-10T01:53:35.378Z","avatar_url":"https://github.com/ilevn.png","language":"Python","readme":"# Fireside Bot\n\n***\nThis is a bot made for the Fireside Politics server.\nFormerly known as Coffee and Politics, created right after the great purge.\n***\n\n## Getting Started\n\n### Prerequisites\nYou are going to need the following:  \n\n* [Poetry](https://python-poetry.org/docs/#installation)  \n* Python 3.8+\n* (Preferably) A *NIX based system\n\nThe bot is coded and tested on *NIX based systems.\n\n### Installing\n1. **Make sure to run Python 3.8 or higher.**  \n\nThis is required to actually run the bot.\n\n2. **Set up the virtualenv with Poetry.** \n   \nThe project is using [Poetry](https://python-poetry.org/) as its dependency manager.\n\nOnce poetry is installed, simply run `poetry install` and you're all set.\n\n3. **Setup configuration.**  \n\nThe next step is just to create a `config.py` file in the root directory of\nthe bot with the following template:\n\n```python\ntoken = \"\" # Your bot's token.\nautoload = [\"cogs\", \"to\", \"load\"] # List of cogs to load on start-up.\npostgresql = \"postgresql://user:password@host/database\" # Your postgresql info.\n\n# These are optional\ndev_mode = True | False # Whether the bot should run in development mode.\ndev_prefix = \"prefix\" # The dev mode bot prefix.\n```\n\n4. **Create the database.**  \n\nFor security, it is recommended you create an extra user with a\npassword.  \n\n```postgresql\nCREATE ROLE fbot WITH LOGIN PASSWORD 'yourpw';\nCREATE DATABASE firesidebot OWNER fbot;\n```\nThis will create a new database that the bot can modify.\n\n5. **Initialise the database.**  \n\nThe database initialisation command will fully set up your database.  \n`poetry run python3 run.py db init`  \n\n### Tests\nTo test the bot is running correctly, do .ping in your server. The response should be \"Pong\" from the bot in your server.\n\n## Built With\n* [Discord.py](https://github.com/Rapptz/discord.py)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filevn%2Ffiresidebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filevn%2Ffiresidebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filevn%2Ffiresidebot/lists"}