{"id":19162879,"url":"https://github.com/chethanyadav456/stats-bot","last_synced_at":"2025-08-02T20:05:17.739Z","repository":{"id":115763652,"uuid":"467241710","full_name":"chethanyadav456/stats-bot","owner":"chethanyadav456","description":"A simple Discord Server Stat Bot made in Javascript.","archived":false,"fork":false,"pushed_at":"2022-08-15T13:28:07.000Z","size":12,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-29T01:46:14.659Z","etag":null,"topics":["discord","discord-js","javascript","stats"],"latest_commit_sha":null,"homepage":"","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/chethanyadav456.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2022-03-07T20:01:47.000Z","updated_at":"2025-03-09T21:00:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"483b1edf-3851-445b-8c8d-e838bbacab19","html_url":"https://github.com/chethanyadav456/stats-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chethanyadav456/stats-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2Fstats-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2Fstats-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2Fstats-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2Fstats-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chethanyadav456","download_url":"https://codeload.github.com/chethanyadav456/stats-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chethanyadav456%2Fstats-bot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268448176,"owners_count":24251994,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","discord-js","javascript","stats"],"created_at":"2024-11-09T09:13:25.575Z","updated_at":"2025-08-02T20:05:17.714Z","avatar_url":"https://github.com/chethanyadav456.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![Logo](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fmma.prnewswire.com%2Fmedia%2F471951%2FSTATS_Logo.jpg%3Fp%3Dpublish\u0026f=1\u0026nofb=1)\n\n\n# Discord Stats-Bot\n\nA simple Discord Server Stat Bot made in Javascript.\n\nIf I get 25+ stars I will make an multiguild server-stats code.\n\n## Installation\n\nInstall my-project with npm\n\n```bash\n  npm install discord.js\n  node .\n```\n    \n## Usage/Examples\n\n```javascript\nclient.on(\"guildMemberAdd\", (member) =\u003e {\n    try {\n        member.guild.channels.cache.get(options.total).setName(`Total Members: ${member.guild.memberCount}`); // You can change this text, but still keep ${guild.memberCount}, as it defines total members.\n        member.guild.channels.cache.get(options.users).setName(`Users: ${member.guild.members.filter((m) =\u003e !m.user.bot).size}`); // This text is also changeable, still keep the code in ${}\n        member.guild.channels.cache.get(options.bots).setName(`Bots: ${member.guild.members.filter((m) =\u003e m.user.bot).size}`); // This text is also changeable, still keep the code in ${}\n    \n    }\n    catch (e) {\n    console.log(e);\n    }\n});\nclient.on(\"guildMemberRemove\", (member) =\u003e {\n    try {\n        member.guild.channels.cache.get(options.total).setName(`Total Members: ${member.guild.memberCount}`); // You can change this text, but still keep ${guild.memberCount}, as it defines total members.\n        member.guild.channels.cache.get(options.users).setName(`Users: ${member.guild.members.filter((m) =\u003e !m.user.bot).size}`); // This text is also changeable, still keep the code in ${}'s\n        member.guild.channels.cache.get(options.bots).setName(`Bots: ${member.members.filter((m) =\u003e m.user.bot).size}`); // This text is also changeable, still keep the code in ${}'s\n    \n    }\n    catch (e) {\n    console.log(e);\n    }\n});\n```\n\n## Support\n\nFor support, join our Discord server - https://discord.gg/9ZG8yrjQpn\n\n\n## Authors\n\n- [@chethanyadav456](https://www.github.com/chethanyadav456)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchethanyadav456%2Fstats-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchethanyadav456%2Fstats-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchethanyadav456%2Fstats-bot/lists"}