{"id":21603095,"url":"https://github.com/evmar/discord-clean","last_synced_at":"2025-03-18T13:51:13.755Z","repository":{"id":66490099,"uuid":"549255945","full_name":"evmar/discord-clean","owner":"evmar","description":"delete entries on discord","archived":false,"fork":false,"pushed_at":"2023-12-02T19:48:44.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T18:45:46.182Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/evmar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-10-10T23:13:59.000Z","updated_at":"2023-09-08T18:38:25.000Z","dependencies_parsed_at":"2024-06-21T16:28:43.448Z","dependency_job_id":"bab41933-a3c0-4b2a-85e9-9c7826a3bffc","html_url":"https://github.com/evmar/discord-clean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmar%2Fdiscord-clean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmar%2Fdiscord-clean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmar%2Fdiscord-clean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/evmar%2Fdiscord-clean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/evmar","download_url":"https://codeload.github.com/evmar/discord-clean/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244236093,"owners_count":20420752,"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":[],"created_at":"2024-11-24T19:15:11.867Z","updated_at":"2025-03-18T13:51:13.734Z","avatar_url":"https://github.com/evmar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"This little program deletes some users' messages from a Discord channel.\n\nI used it so Discord wouldn't have an archive of my old chats. Who can say\nwhether they actually delete them server-side, though!\n\n## Server-side setup\n\nDiscord unfortunately does not let software act on behalf of a user directly,\nbut instead allows software to show up as \"bots\". You then must be a server\nadmin to be able to grant the bot user access to delete your messages.\n\n1. Create a Discord \"app\" via the\n   [developer portal](https://discord.com/developers/applications).\n2. Bot -\u003e Add Bot.\n   1. Reset Token, then save the generated token for use below.\n3. OAuth2 -\u003e URL Generator.\n   1. Tick `bot`.\n   2. Add ... some set of OAuth2 scopes (I forget already, eek).\n   3. Open the generated URL in your browser to add the bot to your server.\n\n## Client-side execution\n\n```\n$ go build .\n$ ./discord-clean -token=\"$TOKEN\" -users=\"evmar#1234,jon#4231\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevmar%2Fdiscord-clean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevmar%2Fdiscord-clean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevmar%2Fdiscord-clean/lists"}