{"id":13758367,"url":"https://github.com/ColeWalker/twitchircgo","last_synced_at":"2025-05-10T08:30:24.213Z","repository":{"id":57533440,"uuid":"280174569","full_name":"ColeWalker/twitchircgo","owner":"ColeWalker","description":"A twitch irc client for Golang","archived":false,"fork":false,"pushed_at":"2020-07-26T20:45:29.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-16T15:37:38.475Z","etag":null,"topics":["go","golang","irc","twitch","twitch-bot","twitch-bots","twitch-irc"],"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/ColeWalker.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-07-16T14:24:14.000Z","updated_at":"2021-10-04T10:48:00.000Z","dependencies_parsed_at":"2022-09-14T12:31:08.279Z","dependency_job_id":null,"html_url":"https://github.com/ColeWalker/twitchircgo","commit_stats":null,"previous_names":["colewalker/twitch-irc-go"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColeWalker%2Ftwitchircgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColeWalker%2Ftwitchircgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColeWalker%2Ftwitchircgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColeWalker%2Ftwitchircgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColeWalker","download_url":"https://codeload.github.com/ColeWalker/twitchircgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253389382,"owners_count":21900750,"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":["go","golang","irc","twitch","twitch-bot","twitch-bots","twitch-irc"],"created_at":"2024-08-03T13:00:28.625Z","updated_at":"2025-05-10T08:30:23.844Z","avatar_url":"https://github.com/ColeWalker.png","language":"Go","readme":"# Go Twitch IRC Client\n\nThis repository contains a Go client for interacting with Twitch IRC channels.\n\n# Example\n\nmain.go contains the following example which will receive each message in my channel (supcole) and log information about it and the user who sent it to the console. To be able to run this, you must have Twitch API credentials.\n\n```go\n\nchatToken := twitchircgo.RefreshAuth(\"refresh token goes here\",\"client id goes here\", \"client secret goes here\")\n\nbot := newBot(chatToken, []string{\"#channel\", \"#anotherchannel\"}, \"botusername\")\nbot.Connect()\n\nfor {\n    message := \u003c-bot.OnMessage\n    fmt.Printf(\"got message %+v\\n\",message)\n}\n\n\n```\n\nMessages in the above code segment are sent to the channel OnMessage, and saved to a local variable.\nMessage objects contain user information and the contents of the message itself.\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Golang"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FColeWalker%2Ftwitchircgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FColeWalker%2Ftwitchircgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FColeWalker%2Ftwitchircgo/lists"}