{"id":17919347,"url":"https://github.com/zombiezen/go-discord","last_synced_at":"2026-05-05T07:32:01.447Z","repository":{"id":57642129,"uuid":"436357422","full_name":"zombiezen/go-discord","owner":"zombiezen","description":"Go library for interacting with the Discord API (work-in-progress)","archived":false,"fork":false,"pushed_at":"2021-12-09T00:04:45.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T12:02:08.291Z","etag":null,"topics":["client-library","discord","discord-api","library"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zombiezen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-08T18:48:43.000Z","updated_at":"2022-11-09T18:14:38.000Z","dependencies_parsed_at":"2022-09-07T04:13:16.798Z","dependency_job_id":null,"html_url":"https://github.com/zombiezen/go-discord","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/zombiezen/go-discord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fgo-discord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fgo-discord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fgo-discord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fgo-discord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zombiezen","download_url":"https://codeload.github.com/zombiezen/go-discord/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fgo-discord/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32640533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["client-library","discord","discord-api","library"],"created_at":"2024-10-28T20:16:15.099Z","updated_at":"2026-05-05T07:32:01.431Z","avatar_url":"https://github.com/zombiezen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zombiezen Go Client for Discord\n\n`zombiezen.com/go/discord` is a WIP Go library\nfor interacting with the [Discord API][].\nIt differs from [DiscordGo][] by providing a [`Context`][]-aware API.\n\n[Discord API]: https://discord.com/developers/docs/intro\n[DiscordGo]: https://github.com/bwmarrin/discordgo\n[`Context`]: https://pkg.go.dev/context\n\n## Installation\n\n```shell\ngo get zombiezen.com/go/discord\n```\n\n## Basic Usage\n\n```go\nauth := discord.BotAuthorization(\"xyzzy\")\nclient := discord.NewClient(auth, nil)\ndmChannel, err := client.CreateDM(ctx, userID)\nif err != nil {\n  return err\n}\n_, err = client.CreateMessage(ctx, \u0026discord.CreateMessageParams{\n  ChannelID: dmChannel.ID,\n  Content:   \"Hello, World!\",\n})\nif err != nil {\n  return err\n}\n```\n\nSee pkg.go.dev for\n[more examples](https://pkg.go.dev/zombiezen.com/go/discord#pkg-examples).\n\n## Contributing\n\nWe'd love to accept your patches and contributions to this project.\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for more details.\n\n## Links\n\n- [Discord Developer Documentation](https://discord.com/developers/docs/intro)\n- [Release Notes](https://github.com/zombiezen/go-discord/blob/main/CHANGELOG.md)\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzombiezen%2Fgo-discord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzombiezen%2Fgo-discord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzombiezen%2Fgo-discord/lists"}