{"id":18675880,"url":"https://github.com/compeydev/discord-status-action","last_synced_at":"2025-04-12T02:11:53.625Z","repository":{"id":37542944,"uuid":"473567167","full_name":"CompeyDev/discord-status-action","owner":"CompeyDev","description":"GitHub action to update your discord status in a file using the Lanyard API.","archived":false,"fork":false,"pushed_at":"2024-08-04T11:09:02.000Z","size":2716,"stargazers_count":18,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T02:11:47.282Z","etag":null,"topics":["api","discord","git","lanyard","status"],"latest_commit_sha":null,"homepage":"https://github.com/Phineas/lanyard","language":"JavaScript","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/CompeyDev.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-24T10:58:03.000Z","updated_at":"2024-11-29T15:13:45.000Z","dependencies_parsed_at":"2024-06-21T05:47:37.834Z","dependency_job_id":"afa5c8b2-054b-44c6-9763-d748d31a7acf","html_url":"https://github.com/CompeyDev/discord-status-action","commit_stats":{"total_commits":26272,"total_committers":1,"mean_commits":26272.0,"dds":0.0,"last_synced_commit":"955bc057f2bb6e39d5de3cfc28ddcd7715e73a6e"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompeyDev%2Fdiscord-status-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompeyDev%2Fdiscord-status-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompeyDev%2Fdiscord-status-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CompeyDev%2Fdiscord-status-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CompeyDev","download_url":"https://codeload.github.com/CompeyDev/discord-status-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505928,"owners_count":21115354,"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":["api","discord","git","lanyard","status"],"created_at":"2024-11-07T09:26:46.253Z","updated_at":"2025-04-12T02:11:53.603Z","avatar_url":"https://github.com/CompeyDev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Status Action\n\nThis action fetches the status of a given user and updates that on a file. \n\n\u003cimg src=\"https://cdn.devcomp.xyz/twemoji-13.1.0/assets/svg/1f7e2.svg\" width=\"17\"\u003e\u003c/img\u003e - **Online**\n\u003cbr\u003e\n\u003cimg src=\"https://cdn.devcomp.xyz/twemoji-13.1.0/assets/svg/1f7e1.svg\" width=\"17\"\u003e\u003c/img\u003e - **Idle**\n\u003cbr\u003e\n\u003cimg src=\"https://cdn.devcomp.xyz/twemoji-13.1.0/assets/svg/1f534.svg\" width=\"17\"\u003e\u003c/img\u003e - **Do not disturb**\n\u003cbr\u003e\n\u003cimg src=\"https://cdn.devcomp.xyz/twemoji-13.1.0/assets/svg/1f7e3.svg\" width=\"17\"\u003e\u003c/img\u003e - **Streaming**\n\u003cbr\u003e\n\u003cimg src=\"https://cdn.devcomp.xyz/twemoji-13.1.0/assets/svg/26aa.svg\" width=\"17\"\u003e\u003c/img\u003e - **Offline**\n\n\n\n\n\n## Inputs\n\n### `file`\n\n**Required** This is the file you want to action to update your status at. \n\n### `id`\n\n**Required** The user whose discord status you want to fetch. Note that this must be a string for the action to work. \n\n## Example usage\n\n```yml\non:\n  schedule: [{cron: \"*/7 * * * *\"}]\n  workflow_dispatch:\n  push: {branches: [\"master\", \"main\"]}\n\njobs:\n  status:\n    runs-on: ubuntu-latest\n    name: Update Discord Status\n    steps:\n      - name: Checkout files\n        uses: actions/checkout@v3\n      - name: Update Status\n        uses: CompeyDev/discord-status-action@0.3.2\n        with:\n          file: README.md\n          id: \"893762371770802227\" # Replace with your Discord User ID.\n      - name: Commit and push if there are changes\n        run: |-\n          git diff\n          git config --global user.email \"hi@devcomp.xyz\" # Replace with an email associated to your GitHub Account.\n          git config --global user.name \"StatsBot\"\n          git diff --quiet || (git add -u \u0026\u0026 git commit -m \"🚀 Update Discord Status\")\n          git push               \n```\n\n---\n\n### Discord Status: 🟢\n---\n\nThis repository is licensed under a [MIT](https://compeydev.mit-license.org) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompeydev%2Fdiscord-status-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcompeydev%2Fdiscord-status-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcompeydev%2Fdiscord-status-action/lists"}