{"id":17924546,"url":"https://github.com/wrussell1999/form-bot","last_synced_at":"2025-04-03T09:24:48.246Z","repository":{"id":95489680,"uuid":"189066179","full_name":"wrussell1999/form-bot","owner":"wrussell1999","description":"📝 Discord bot used for handling responses to forms ","archived":false,"fork":false,"pushed_at":"2019-09-25T15:20:25.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T13:06:27.535Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wrussell1999.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":"2019-05-28T16:37:55.000Z","updated_at":"2023-10-13T19:53:46.000Z","dependencies_parsed_at":"2023-03-21T02:49:23.444Z","dependency_job_id":null,"html_url":"https://github.com/wrussell1999/form-bot","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrussell1999%2Fform-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrussell1999%2Fform-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrussell1999%2Fform-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrussell1999%2Fform-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wrussell1999","download_url":"https://codeload.github.com/wrussell1999/form-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246971460,"owners_count":20862740,"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-10-28T20:49:09.565Z","updated_at":"2025-04-03T09:24:48.219Z","avatar_url":"https://github.com/wrussell1999.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FormBot\n\nA discord bot for handling responses to generic online forms, through private messages.\n\nThis bot was made specially for [HackTheMidlands 4.0](https://hackthemidlands.com/), but is designed to be used for any form.\n\n## Usage\n\nType `!mentor` anywhere in your server and it will trigger the bot to privately message you the questions on the form.\n\nThis bot is designed for a mentoring system, but can be altered to work for different kinds of forms quite easily.\n\nIt works with the following fields (however, everything _should_ work):\n\n- all plaintext fields\n- checkbox\n- radio\n\n### Things to note\n\n- You can change the command from `!mentor`. \n\t- _This can be done by renaming the method `async def mentor(ctx):`_\n- You can change the final message when all the questions have been asked.\n\n## Development\n\n### Setup a virtual environment\n\n```bash\n$ python3 -m venv .venv\n$ source .venv/bin/activate\n```\n\n### Install required packages\n\n```bash\n$ pip3 install -r requirements.txt\n```\n\n### Configuation\n\nYou will need a token for discord. Follow [this guide](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-\u0026-getting-a-token) to get one.\n\nAdd the token, and URL for the form you want to use to `config.yaml`.\n\n```yaml\nurl:\n\ndiscord:\n  token:\n  start_message: \"Hello there! I'm here to help\"\n  end_message: \"Someone will be over to help you shortly!\"\n  embed_title: \"Respond with one of the options below\"\n  prefix: \"!\"\n```\n\n### Run\n\n```bash\n$ python3 -m formbot\n```\n\n## Contributors\n\n- [Justin Chadwell](https://github.com/jedevc): Form scraping, validation and submission\n- [Will Russell](https://github.com/wrussell1999): Discord bot used for asking questions and response handling\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrussell1999%2Fform-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrussell1999%2Fform-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrussell1999%2Fform-bot/lists"}