{"id":15497110,"url":"https://github.com/zaneh/dafarmz-bot","last_synced_at":"2025-03-28T17:22:12.300Z","repository":{"id":190030440,"uuid":"681777525","full_name":"ZaneH/dafarmz-bot","owner":"ZaneH","description":"1.0 of DaFarmz bot. Uses Elixir, Nostrum, Postgres, and Node.js. Game assets not included.","archived":false,"fork":false,"pushed_at":"2023-08-22T18:58:19.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T17:56:05.092Z","etag":null,"topics":["discord-bot","discord-game","elixir","farming","farming-simulator","game","nostrum"],"latest_commit_sha":null,"homepage":"https://dafarmz.zaaane.com","language":"Elixir","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZaneH.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-22T18:28:46.000Z","updated_at":"2023-11-03T06:25:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"42007a7a-ffe0-44d6-91c9-e16f4543f035","html_url":"https://github.com/ZaneH/dafarmz-bot","commit_stats":null,"previous_names":["zaneh/dafarmz-bot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaneH%2Fdafarmz-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaneH%2Fdafarmz-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaneH%2Fdafarmz-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZaneH%2Fdafarmz-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZaneH","download_url":"https://codeload.github.com/ZaneH/dafarmz-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246068281,"owners_count":20718503,"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":["discord-bot","discord-game","elixir","farming","farming-simulator","game","nostrum"],"created_at":"2024-10-02T08:30:41.914Z","updated_at":"2025-03-28T17:22:12.277Z","avatar_url":"https://github.com/ZaneH.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DaFarmz Bot\n\n![Preview](https://raw.githubusercontent.com/ZaneH/dafarmz-website/main/img/plot.png)\n\n## Run Locally\n\n### Clone the project\n\n```bash\ngit clone https://github.com/ZaneH/dafarmz-bot.git\ncd dafarmz-bot\n```\n\n### Setup environment variables\n\nYou'll need to create an application in the Discord Developer Portal to\nget a token for your bot. You'll also need to enable developer mode in\nDiscord to get your bot's user ID.\n\nThe permissions your bot needs includes:\n\n- Read Messages\n- Send Messages\n- Manage Messages\n- Read Message History\n- Add Reactions (unused, but planned)\n\n```\n# .env\nexport DISCORD_USER_ID=\u003cyour bot's user ID\u003e\nexport DISCORD_TOKEN=\u003cyour bot's token\u003e\n```\n\n### Install dependencies\n\n```bash\nmix deps.get\n```\n\n### Install JS dependencies\n\n```bash\ncd js_image/\nnpm install\ncd ..\n```\n\n### Create database\n\n```bash\nmix ecto.create\n```\n\n### Run migrations\n\nCurrently there is no seed data. You'll need to populate the database\nmanually with shop items, lifecycle images, etc.\n\n```bash\nmix ecto.migrate\n```\n\n### Run the bot\n\n```bash\niex -S mix\n```\n\n## License\n\n\u003ca href=\"https://creativecommons.org/licenses/by-nc-nd/4.0/\"\u003e\n    \u003cimg height=\"50px\" src=\"https://mirrors.creativecommons.org/presskit/buttons/88x31/png/by-nc-nd.png\" /\u003e\n\u003c/a\u003e\n\n### In English\n\nYou are free to:\n- Share — copy and redistribute the material in any medium or format\n    - The licensor cannot revoke these freedoms as long as you follow the license terms.\n\nUnder the following terms:\n- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.\n- NonCommercial — You may not use the material for commercial purposes.\n- NoDerivatives — If you remix, transform, or build upon the material, you may not distribute the modified material.\n\n## Assets\n\nGame assets in the 1.0 version are from [Sprout Lands asset pack by Cup Nooble](https://cupnooble.itch.io/sprout-lands-asset-pack). Due to their license, I will not be redistributing these assets.\n\nIf you run this locally, you'll need the following files:\n\n- `js_image/images/layer-1-v2.png` (For the base image, grid + grass)\n- `js_image/images/layer-2-v2.png` (For the base image, border decoration)\n- `js_image/images/*.png` (For the lifecycle images. These need to be added to the database manually for each `item` row.)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaneh%2Fdafarmz-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzaneh%2Fdafarmz-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzaneh%2Fdafarmz-bot/lists"}