{"id":16666557,"url":"https://github.com/karashiiro/discordclocks","last_synced_at":"2025-12-25T13:31:06.692Z","repository":{"id":57548981,"uuid":"305469953","full_name":"karashiiro/DiscordClocks","owner":"karashiiro","description":"Clocks for your Discord servers.","archived":false,"fork":false,"pushed_at":"2022-01-03T03:09:32.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T16:33:14.924Z","etag":null,"topics":["bot","clock","discord"],"latest_commit_sha":null,"homepage":"","language":"Go","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/karashiiro.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}},"created_at":"2020-10-19T17:57:18.000Z","updated_at":"2024-12-30T03:00:21.000Z","dependencies_parsed_at":"2022-08-27T00:32:11.508Z","dependency_job_id":null,"html_url":"https://github.com/karashiiro/DiscordClocks","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karashiiro%2FDiscordClocks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karashiiro%2FDiscordClocks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karashiiro%2FDiscordClocks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/karashiiro%2FDiscordClocks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/karashiiro","download_url":"https://codeload.github.com/karashiiro/DiscordClocks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243310446,"owners_count":20270792,"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":["bot","clock","discord"],"created_at":"2024-10-12T11:11:24.025Z","updated_at":"2025-12-25T13:31:06.648Z","avatar_url":"https://github.com/karashiiro.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DiscordClocks\nClocks for your Discord servers. Updates every five minutes due to API restrictions.\n\n![Screenshot](https://i.imgur.com/HaCt4I4.png)\n\n## Why rewrite DisClocks in Go?\nI was running up against the memory limits of my DO Droplet, so I decided to rewrite some of the smaller projects I had there in Go. In this case, doing so cut the memory usage of the clock bot in slightly more than half.\n\n## Installation\nMake sure you have a bot token for the Discord API.\n\nDownload the program and Go v1.15+, install the dependencies, and run `go build` to create the executable.  Alternatively, pick up the (possibly outdated, check the commit hash) pre-built Windows binary from [here](https://github.com/karashiiro/DiscordClocks/releases/latest).\n\nSet the environment variable `DISCLOCKS_BOT_TOKEN` to your bot token.\n\n## Configuration\nSet `mod_roles` in the configuration file generated on the first run to an array of strings including role IDs authorized\nto modify server clocks.\n\n## Usage\n`^addclock \u003cchannel ID\u003e \u003ctz timezone\u003e [custom abbreviation]`: Creates a clock on voice channel `\u003cchannel ID\u003e`. You can get\nchannel IDs by enabling Developer Mode in `Settings-\u003eAppearance` and then right-clicking on a channel to \"Copy ID\".\n\nThis should only be used on voice channels, since they can have spaces and capital letters in their names.\n\nExample: `^addclock 637737139022462987 America/Los_Angeles`\n\nThis creates a clock on channel `637737139022462987` with a time in PST or PDT.\n\nExample: `^addclock 637737139022462987 America/Los_Angeles PDT`\n\nThis creates a clock on channel `637737139022462987` with a time in PST or PDT, but it will have the label PDT no\nmatter what, even if it is incorrect.\n\n`^removeclock \u003cchannel ID\u003e`: Removes a clock from a voice channel.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarashiiro%2Fdiscordclocks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarashiiro%2Fdiscordclocks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarashiiro%2Fdiscordclocks/lists"}