{"id":21372927,"url":"https://github.com/strivo-dev/discord-afk-js","last_synced_at":"2025-07-13T07:32:22.050Z","repository":{"id":155071490,"uuid":"632286172","full_name":"SITCommunity/discord-afk-js","owner":"SITCommunity","description":"discord-afk-js package is a convenient tool for creating AFK commands","archived":false,"fork":false,"pushed_at":"2024-10-18T11:33:37.000Z","size":9807,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-16T01:11:42.937Z","etag":null,"topics":["afk","database","discord","discord-bots","javascript","mongoose","nodejs"],"latest_commit_sha":null,"homepage":"https://cyrateam.xyz/project/discord-afk-js","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/SITCommunity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/codeowners","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["brokenedtzjs"],"open_collective":"discord-afk-js","patreon":"DiscordAfkJs"}},"created_at":"2023-04-25T05:18:34.000Z","updated_at":"2024-10-16T06:14:57.000Z","dependencies_parsed_at":"2023-12-19T04:55:05.372Z","dependency_job_id":"c6d8c651-20d5-4a6f-85f1-1eb960304667","html_url":"https://github.com/SITCommunity/discord-afk-js","commit_stats":null,"previous_names":["sitcommunity/discord-afk-js","cyrateam/discord-afk-js"],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SITCommunity%2Fdiscord-afk-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SITCommunity%2Fdiscord-afk-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SITCommunity%2Fdiscord-afk-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SITCommunity%2Fdiscord-afk-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SITCommunity","download_url":"https://codeload.github.com/SITCommunity/discord-afk-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225865336,"owners_count":17536436,"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":["afk","database","discord","discord-bots","javascript","mongoose","nodejs"],"created_at":"2024-11-22T08:24:06.522Z","updated_at":"2025-07-13T07:32:21.611Z","avatar_url":"https://github.com/SITCommunity.png","language":"JavaScript","funding_links":["https://github.com/sponsors/brokenedtzjs","https://opencollective.com/discord-afk-js","https://patreon.com/DiscordAfkJs"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cp\u003e\n    \u003ca target=\"_blank\" href=\"https://www.npmjs.com/package/discord-afk-js\" rel=\"noopener noreferrer\"\u003e\u003cimg src=\"https://nodei.co/npm/discord-afk-js.png\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca target=\"_blank\" href=\"https://nodejs.org/\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"node-current\" src=\"https://img.shields.io/node/v/discord-afk-js\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://www.npmjs.com/package/discord-afk-js\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/dt/discord-afk-js\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://www.npmjs.com/package/discord-afk-js\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"npm latest\" src=\"https://img.shields.io/npm/v/discord-afk-js/latest?color=blue\u0026label=discord-afk-js%40latest\u0026logo=npm\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/skick1234/SITCommunity/discord-afk-js\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/SITCommunity/discord-afk-js\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://discord.gg/qpT2AeYZRN\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/984857299858382908?label=SITCommunity\u0026logo=discord\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/CyraTeam/discord-afk-js\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Visitor\" src=\"https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2FCyraTeam%2Fdiscord-afk-js\u0026countColor=%2337d67a\u0026style=flat\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/SITCommunity/discord-afk-js/issues\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Issues\" src=\"https://img.shields.io/github/issues/SITCommunity/discord-afk-js\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://github.com/SITCommunity/discord-afk-js\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Commit\" src=\"https://img.shields.io/github/commit-activity/y/SITCommunity/discord-afk-js?label=Commit%20Activity\u0026logo=github\"\u003e\u003c/a\u003e\n    \u003ca target=\"_blank\" href=\"https://codecov.io/gh/SITCommunity/discord-afk-js\"\u003e\u003cimg src=\"https://codecov.io/gh/SITCommunity/discord-afk-js/graph/badge.svg?token=98ZKDNNXVE\"/\u003e\u003c/a\u003e \n  \u003c/p\u003e\n\u003c/div\u003e\n\n# discord-afk-js\n\n**[discord-afk-js](https://www.npmjs.com/package/discord-afk-js?activeTab=readme)** is a JavaScript library created to facilitate the management of AFK (Away From Keyboard) status within Discord bots. This library is designed to simplify the process of tracking and handling AFK users in a Discord server without the need for an external database.\n\n# Requirements\n\n- [NodeJS](https://nodejs.org) 18.x or higher\n\n# Installation\n\nTo start using **discord-afk-js**, you can install it through npm, the Node.js package manager. Open your terminal and run the following command:\n\n```bash\nnpm install discord-afk-js\n```\n\n# Usage\n\n[No Database Version](https://github.com/SITCommunity/discord-afk-js/tree/nodb-stable?tab=readme-ov-file)\n\n[Database Version](https://github.com/SITCommunity/discord-afk-js/tree/db-stable?tab=readme-ov-file)\n\n# License\n\nThis project is open-source and is licensed under MIT License. You can find more details about the license in the [LICENSE.md](https://github.com/SITCommunity/discord-afk-js/blob/main/LICENSE) file included in the project.\n\nWith this comprehensive readme, you have a clear and detailed guide on how to use the **discord-afk-js** library to manage AFK status in your Discord bot.\n\n# Discord Servers\n\n\u003ca href=\"https://discord.gg/qpT2AeYZRN\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\u003cimg alt=\"Discord\" src=\"https://img.shields.io/discord/984857299858382908?label=SITCommunity\u0026logo=discord\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrivo-dev%2Fdiscord-afk-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrivo-dev%2Fdiscord-afk-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrivo-dev%2Fdiscord-afk-js/lists"}