{"id":19588128,"url":"https://github.com/isfakeaccount/redditmodmailarchiver","last_synced_at":"2025-02-26T13:15:36.821Z","repository":{"id":115941065,"uuid":"395513620","full_name":"isFakeAccount/RedditModmailArchiver","owner":"isFakeAccount","description":"Archives the modmail by certain user continously","archived":false,"fork":false,"pushed_at":"2021-08-13T05:58:29.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T06:12:44.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/isFakeAccount.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":"2021-08-13T03:49:35.000Z","updated_at":"2021-08-13T05:58:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"78afb3c0-088e-440d-84d7-82d089b4a23b","html_url":"https://github.com/isFakeAccount/RedditModmailArchiver","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/isFakeAccount%2FRedditModmailArchiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isFakeAccount%2FRedditModmailArchiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isFakeAccount%2FRedditModmailArchiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isFakeAccount%2FRedditModmailArchiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isFakeAccount","download_url":"https://codeload.github.com/isFakeAccount/RedditModmailArchiver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240858608,"owners_count":19869001,"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-11T08:11:34.737Z","updated_at":"2025-02-26T13:15:36.745Z","avatar_url":"https://github.com/isFakeAccount.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# RedditModmailArchiver  \n  \nThis bot will allow you to continuously archive the modmail by certain users. This is to prevent malicious users to clog your modmail.\n\n### How to use the bot\n1. First download this repository to your maching\n2.  Create a file called `praw.ini`. There you will provide the api keys and secret. \n`Praw.ini` should look like this \n```\n[modmail_archiver_bot]  \nclient_id=Y4PJOclpDQy3xZ\nclient_secret=UkGLTe6oqsMk5nHCJTHLrwgvHpr\npassword=pni9ubeht4wd50gk\nusername=fakebot1\n``` \n(*Substitute the  example id, secret, username, and password values with actual values*)\n\n3. The next part is installing requirements from requirements.txt. This can be done via terminal using command\n```\n pip3 install -r requirements.txt\n```\n4. Change the subreddit name to the actual subreddit name in main.py\n5. Lastly run the main.py file\n### Config File\nThe bot will look at the wiki page to gets its config information. In the wiki page you can mention the usernames of account which should be shadowbanned from the modmail. It's format should be\n```\nname:\n   - username1\n   - username2\n   - username3\n```\nNote: Do not add u\\ before username. Also, the formating should be like above, otherwise bot will not work. Similar to Automoderator, the config is YAML. Learn more about [YAML Syntax](https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html)\n\n### FAQ\n**How it is better than muting?**\nFor the most cases, you are better off muting user. However, in rare ocassions, if the user is bypassing the mute by creating multtiple accounts. This bot will come in handy. It is in a way modmail shadowban.\n\n**The modmail gets archived but it is still unread.**\nUnfortunately, this is not a fixable issue. The bot can move the modmail to archive and mark it read from its side. However, for other moderations, it will show as unread in archived box. A solution would be that each moderator has to go to archive box and select mark all read in top right corner. \n\n[Archive messages showing unread](https://www.reddit.com/r/ModSupport/comments/oktfda/archive_messages_showing_unread/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisfakeaccount%2Fredditmodmailarchiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisfakeaccount%2Fredditmodmailarchiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisfakeaccount%2Fredditmodmailarchiver/lists"}