{"id":13758363,"url":"https://github.com/TroyKomodo/modlogs","last_synced_at":"2025-05-10T08:30:22.999Z","repository":{"id":36989476,"uuid":"347529639","full_name":"TroyKomodo/modlogs","owner":"TroyKomodo","description":"A bot used to post twitch mod actions into a discord channel.","archived":true,"fork":false,"pushed_at":"2023-06-26T01:01:00.000Z","size":192,"stargazers_count":9,"open_issues_count":7,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-09T06:06:37.377Z","etag":null,"topics":["abuse","bot","discord","logging","logs","mod","moderation","moderation-bot","twitch"],"latest_commit_sha":null,"homepage":"https://modlogs.komodohype.dev","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/TroyKomodo.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}},"created_at":"2021-03-14T02:50:48.000Z","updated_at":"2025-01-01T05:33:46.000Z","dependencies_parsed_at":"2024-01-15T03:42:44.865Z","dependency_job_id":null,"html_url":"https://github.com/TroyKomodo/modlogs","commit_stats":null,"previous_names":["troydota/modlogs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroyKomodo%2Fmodlogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroyKomodo%2Fmodlogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroyKomodo%2Fmodlogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TroyKomodo%2Fmodlogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TroyKomodo","download_url":"https://codeload.github.com/TroyKomodo/modlogs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253389373,"owners_count":21900749,"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":["abuse","bot","discord","logging","logs","mod","moderation","moderation-bot","twitch"],"created_at":"2024-08-03T13:00:28.496Z","updated_at":"2025-05-10T08:30:22.472Z","avatar_url":"https://github.com/TroyKomodo.png","language":"Go","funding_links":[],"categories":["Libraries"],"sub_categories":["Golang"],"readme":"# ModLogs\n\nA bot used to post twitch mod actions into a discord channel.\n\n## Using the global version\n\n1. Go to the website https://modlogs.komodohype.dev and add the bot to your discord.\n2. Ask your streamer to go to the website https://modlogs.komodohype.dev/login and copy the command that it returns and patse it your discord channel.\n3. You can have a maximum of 10 hooks per discord. If you need more you can dm me on discord Troy#0003\n\nIf you find any questions, feature requests, bugs, issues or an error is thrown, please make an issue [here](https://github.com/TroyDota/modlogs/issues).\n\n## Commands\n\n### Admin Commands \n- ```/add token minimal? channel? -\u003e Adds a new hook binding for mod logs to the current channel or the channel specified.```\n\n- ```/delete streamerID/streamerName channel? -\u003e Removed the hook for that channel.```\n\n- ```/list channel? -\u003e Lists the current hooks for either the guild or the specified channel.```\n\n- ```/ignore accountName/accountID -\u003e Ignores a user useful for bot.```\n\n- ```/unignore accountName/accountID -\u003e Unignores a user.```\n\n- ```/ignored -\u003e Shows all ignored users```\n\n### Other Commands\n- ```/link -\u003e Displays invite links.```\n\n### Screenshots\n![image](https://user-images.githubusercontent.com/49777269/111158373-a128cf80-85a0-11eb-9d13-ca634ef56d78.png)\n![image](https://user-images.githubusercontent.com/49777269/111158729-10062880-85a1-11eb-8f78-04ff35cd2434.png)\n\n\n## Running it yourself.\n\n1. Install golang\n```bash\nwget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz\nsudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz\nexport PATH=$PATH:/usr/local/go/bin\n```\n\n2. Clone the repo\n```bash\ncd /opt/\ngit clone https://github.com/troydota/modlogs.git\ncd modlogs\n```\n\n3. Build the source\n```bash\ngo build\n```\n\n4. Modify the config.\n```bash\ncp config.demo.yaml config.yaml \u0026\u0026 vim config.yaml\n```\n\n5. Run the bot with rebuild commands flag once. Once you see the application started message you can stop it and run it in the system service.\n```bash\n./modlogs --rebuild_commands\n# for more info on all the flags\n./moglogs --help\n```\n\n6. Setup auto run with systemboot.\n```bash\nsudo cp modlogs.service /etc/systemd/system \u0026\u0026 sudo systemctl start modlogs \u0026\u0026 sudo systemctl enable modlogs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTroyKomodo%2Fmodlogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTroyKomodo%2Fmodlogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTroyKomodo%2Fmodlogs/lists"}