{"id":28366902,"url":"https://github.com/urpagin/vcobserver","last_synced_at":"2026-04-24T22:37:55.073Z","repository":{"id":294047003,"uuid":"985829984","full_name":"Urpagin/VcObserver","owner":"Urpagin","description":"Small Discord.py plugin to monitor how much time members spend in voice channels (with leaderboard).","archived":false,"fork":false,"pushed_at":"2025-05-18T17:28:58.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T19:45:01.014Z","etag":null,"topics":["activity-tracking","bot","data-logging","discord","discordpy","event-driven","french-commands","intents-enabled","json-storage","leaderboard","localization","plug-in","presence-tracking","python","session-monitoring","time-tracking","user-metrics","vc","voice-channels","voice-time"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Urpagin.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,"zenodo":null}},"created_at":"2025-05-18T16:03:25.000Z","updated_at":"2025-08-16T22:29:18.000Z","dependencies_parsed_at":"2025-05-18T17:33:58.107Z","dependency_job_id":"50ecd07b-caed-403e-bf62-bf71782fdef0","html_url":"https://github.com/Urpagin/VcObserver","commit_stats":null,"previous_names":["urpagin/vcobserver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Urpagin/VcObserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FVcObserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FVcObserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FVcObserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FVcObserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Urpagin","download_url":"https://codeload.github.com/Urpagin/VcObserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Urpagin%2FVcObserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32243772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["activity-tracking","bot","data-logging","discord","discordpy","event-driven","french-commands","intents-enabled","json-storage","leaderboard","localization","plug-in","presence-tracking","python","session-monitoring","time-tracking","user-metrics","vc","voice-channels","voice-time"],"created_at":"2025-05-29T00:13:25.470Z","updated_at":"2026-04-24T22:37:55.059Z","avatar_url":"https://github.com/Urpagin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VcObserver (Discord Bot plugin)\n\nA lightweight plugin to monitor how much time members spend in voice channels.\n\n\u003e \\[!IMPORTANT]\n\u003e Command names and strings are in **French**.\n\n\u003cimg width=\"423\" alt=\"image\" src=\"https://github.com/user-attachments/assets/9255d7ef-b0c4-47da-afe8-2ffdf4f02e7d\" /\u003e\n\n## Compatibility\n\nCompatible with bots using `discord.py`.\n\nEnsure the following intents are enabled:\n\n* `voice_states`\n* `members`\n\n\n## Installation\n\n1. Copy `src/vc_observer.py` into your project.\n2. Import the `VcObserver` class.\n3. Ensure logging is initialized in your bot.\n4. Instantiate the class with the following parameters: `bot`, `tree`, `filepath`, and optionally `guild_ids`.\n5. **Call `tree.sync()` *after* initializing `VcObserver()`; otherwise, commands will not sync.**\n\nIf you're having trouble, please take a look at the example file at `src/app.py`.\n\n## Behavior\n\nWhen a user connects, disconnects, or switches between voice channels, the bot logs their time spent in the previous channel to a JSON file.\n\n\u003e [!TIP]\n\u003e If the bot is stopped or crashes while users are in voice channels, their ongoing session time will **not** be recorded.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furpagin%2Fvcobserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furpagin%2Fvcobserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furpagin%2Fvcobserver/lists"}