{"id":34502055,"url":"https://github.com/efekrbas/discord-dm-cleaner","last_synced_at":"2026-04-21T12:03:33.524Z","repository":{"id":325665960,"uuid":"1101987756","full_name":"efekrbas/discord-dm-cleaner","owner":"efekrbas","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-30T01:53:00.000Z","size":45978,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-02T05:11:44.360Z","etag":null,"topics":["cleaner","discord","dm","dmclean","dmcleaner","py","python","redact"],"latest_commit_sha":null,"homepage":"","language":"Python","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/efekrbas.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-22T16:00:29.000Z","updated_at":"2025-11-30T01:53:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/efekrbas/discord-dm-cleaner","commit_stats":null,"previous_names":["efekrbas/discord-dm-cleaner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/efekrbas/discord-dm-cleaner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efekrbas%2Fdiscord-dm-cleaner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efekrbas%2Fdiscord-dm-cleaner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efekrbas%2Fdiscord-dm-cleaner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efekrbas%2Fdiscord-dm-cleaner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/efekrbas","download_url":"https://codeload.github.com/efekrbas/discord-dm-cleaner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/efekrbas%2Fdiscord-dm-cleaner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27992996,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"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":["cleaner","discord","dm","dmclean","dmcleaner","py","python","redact"],"created_at":"2025-12-24T02:06:12.034Z","updated_at":"2026-04-21T12:03:33.508Z","avatar_url":"https://github.com/efekrbas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord DM Cleaner\n\nA modern, user-friendly Discord DM (Direct Message) cleaning tool with a beautiful GUI interface. Delete your Discord messages efficiently and safely.\n\n![DM Cleaner](https://img.shields.io/badge/Version-1.0-blue) ![Python](https://img.shields.io/badge/Python-3.8+-green) ![License](https://img.shields.io/badge/License-MIT-yellow)\n\n## ✨ Features\n\n- 🎨 **Modern GUI Interface** - Beautiful, Discord-themed user interface built with PyQt6\n- 🔍 **Search Functionality** - Quickly find specific users in your DM list\n- 🗑️ **Selective Deletion** - Delete messages from specific users or all DMs at once\n- 📊 **Progress Tracking** - Real-time progress bar and detailed logs\n- 🔐 **Auto Token Detection** - Automatically detects and uses your Discord token\n- 🎮 **Discord Rich Presence** - Shows your activity on Discord\n- ⚡ **Fast \u0026 Efficient** - Optimized deletion process with rate limit handling\n\n## 📋 Requirements\n\n- Python 3.8 or higher\n- Windows OS (uses Windows-specific token extraction)\n- Discord desktop application installed\n- Active Discord account\n\n## 🚀 Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/efekrbas/discord-dm-cleaner.git\n   cd discord-dm-cleaner\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Run the application:**\n   ```bash\n   python main.pyw\n   ```\n\n## 📖 Usage\n\n### Getting Started\n\n1. **Launch the application** - Run `main.pyw` to start DM Cleaner\n2. **Login** - The application will automatically detect your Discord token, or you can manually enter it\n3. **Select DMs** - Browse your DM list and select the conversation you want to clean\n4. **Delete Messages** - Choose to delete messages from a specific user or all DMs\n\n### Features Guide\n\n#### Search Users\n- Use the search box at the top of the DM list to quickly find specific users\n- The list filters in real-time as you type\n\n#### Delete Selected DM\n- Select a user from the DM list\n- Click the **\"Delete\"** button\n- Confirm the action\n- Watch the progress bar and logs for real-time updates\n\n#### Delete All DMs\n- Click the **\"Delete All DMs\"** button\n- Confirm the action (this will delete messages from ALL your DMs)\n- Monitor the progress across all conversations\n\n#### Stop Operation\n- Click the **\"Stop\"** button at any time to halt the deletion process\n- The application will safely stop after completing the current message\n\n#### Refresh DM List\n- Click the **\"Refresh\"** button to reload your DM list\n- Useful if you've received new messages or want to update the list\n\n## ⚙️ Configuration\n\n### Discord Rich Presence\n\nThe application includes Discord Rich Presence support. To customize it:\n\n1. Create a Discord application at [Discord Developer Portal](https://discord.com/developers/applications)\n2. Get your Application ID\n3. Update the `client_id` in `main.pyw` (line 24):\n   ```python\n   def __init__(self, client_id=\"YOUR_APPLICATION_ID\"):\n   ```\n\n### Token Detection\n\nThe application automatically detects Discord tokens from:\n- Discord (stable)\n- Discord Canary\n- Discord PTB\n\nIf automatic detection fails, you can manually enter your token in the login window.\n\n## 🔒 Security \u0026 Privacy\n\n- **Local Only** - All operations run locally on your computer\n- **No Data Collection** - The application doesn't collect or transmit any data\n- **Token Security** - Your token is only used for API calls and never stored\n- **Message Safety** - Only your own messages are deleted, never others' messages\n\n## ⚠️ Important Notes\n\n- **Irreversible Action** - Deleted messages cannot be recovered\n- **Rate Limits** - The application respects Discord's rate limits automatically\n- **System Messages** - System messages (calls, polls, etc.) are automatically skipped\n- **Token Safety** - Never share your Discord token with anyone\n- **Backup Recommended** - Consider backing up important messages before bulk deletion\n\n## Images\n\n\u003cp align=\"left\"\u003e\n  \u003cimg src=\"https://github.com/efekrbas/discord-dm-cleaner/blob/main/images/Ekran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202025-11-30%20032339.png\"\u003e\n  \u003c/p\u003e\n  \u003cp align=\"left\"\u003e\n  \u003cimg src=\"https://github.com/efekrbas/discord-dm-cleaner/blob/main/images/Ekran%20g%C3%B6r%C3%BCnt%C3%BCs%C3%BC%202025-11-30%20033831.png\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"left\"\u003e\n\u003cimg src=\"https://github.com/efekrbas/discord-dm-cleaner/blob/main/images/Ekran%20görüntüsü%202025-11-30%2004425.png\"\u003e\n\u003c/p\u003e\n\n## 🐛 Troubleshooting\n\n### Token Not Found\n- Make sure Discord desktop app is installed and you're logged in\n- Try restarting Discord\n- Manually enter your token in the login window\n\n### Rate Limit Errors\n- The application handles rate limits automatically\n- If you see rate limit messages, wait for the automatic retry\n- Consider deleting in smaller batches\n\n### Application Won't Start\n- Check Python version: `python --version` (should be 3.8+)\n- Verify all dependencies are installed: `pip list`\n- Check for error messages in the console\n\n### GUI Not Displaying\n- Ensure PyQt6 is installed: `pip install PyQt6`\n- Try running with administrator privileges\n- Check Windows display settings\n\n## 🛠️ Building Executable\n\nTo create a standalone executable:\n\n```bash\npyinstaller --onefile --windowed --icon=nike.ico main.pyw\n```\n\nOr use the provided build scripts:\n- `build_simple.bat` - Simple build\n- `build_advanced.py` - Advanced build with options\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 👥 Credits\n\n**Developed by:** Efe Kırbaş\n\n**Copyright © 2025**\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## 📧 Support\n\nFor issues, questions, or suggestions:\n- Open an issue on GitHub\n- Check existing issues for solutions\n\n## 🙏 Acknowledgments\n\n- Discord API for providing the platform\n- PyQt6 for the GUI framework\n- All contributors and users of this tool\n\n---\n\n**Disclaimer:** This tool is for personal use only. Use responsibly and in accordance with Discord's Terms of Service. The developers are not responsible for any misuse of this application.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefekrbas%2Fdiscord-dm-cleaner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fefekrbas%2Fdiscord-dm-cleaner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fefekrbas%2Fdiscord-dm-cleaner/lists"}