{"id":19588127,"url":"https://github.com/isfakeaccount/redditsubmissionlocktimer","last_synced_at":"2025-02-26T13:15:35.638Z","repository":{"id":115941101,"uuid":"411933567","full_name":"isFakeAccount/RedditSubmissionLockTimer","owner":"isFakeAccount","description":"Locks the submission after given amount of time in flair","archived":false,"fork":false,"pushed_at":"2021-09-30T06:08:10.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-09T06:12:44.434Z","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-09-30T05:24:13.000Z","updated_at":"2022-01-06T08:48:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"53338bef-7f25-44a3-b52f-840cc4c0086f","html_url":"https://github.com/isFakeAccount/RedditSubmissionLockTimer","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%2FRedditSubmissionLockTimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isFakeAccount%2FRedditSubmissionLockTimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isFakeAccount%2FRedditSubmissionLockTimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isFakeAccount%2FRedditSubmissionLockTimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isFakeAccount","download_url":"https://codeload.github.com/isFakeAccount/RedditSubmissionLockTimer/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.722Z","updated_at":"2025-02-26T13:15:35.552Z","avatar_url":"https://github.com/isFakeAccount.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RedditSubmissionLockTimer\n\nThis reddit bot wil allow you to lock the submission after given amount of time in the submission flair.\n\n**Supported flair formats:**\n- X Minutes\n- X Hours\n\nWhere X is an integer value. The number needs to be at the front and the unit (Minutes or Hours) must be separated by \nsingle whitespace character.\n\nCorrect Examples:\n- 15 Minutes\n- 6 Hours\n- 24 minutes\n- 1 hour\n\nIncorrect Examples (These will not work):\n- Minutes 15 (The number comes later and not at front)\n- 15Minutes (No space between the number and the unit)\n- 7Hors (Typing mistake)\n- 0.5 Minutes (Decimal is not supported)\n\nNote: If the bot is stopped all the timers will be canceled. Also, the bot can't pick if the submission flair was \nchanged by someone later. Only the flair at the creation of post will be considered.  \n## Configuring the Bot\nTo configure the Bot create a yaml file called config.yaml. Following is the template for the yaml file.\n```yaml\nreddit_credentials:\n  username: ''\n  password: ''\n  client_id: ''\n  client_secret: ''\n  user_agent: 'RedditSubmissionLockTimer (by u/is_fake_account)'\n\nsubreddit: ''\ncomment: |\n  Hi u/{{author}}, the submission has been locked since the timer has expired. To open the submission again, please\n  contact mods.\n\n  Thank you for your patience!\n```\nFill in the username, password, client_id, and client_secret accordingly. Same goes for the subreddit. Right now the bot only supports one subreddit. \n\nYou can adjust the comment according to your needs to leave it as it is.\n\n# Prerequisite \nTo install all the Prerequisite, install all the packages from requirements.txt using command.\n\n```commandline\npip3 install -r requirements.txt\n```\n\n# Help\nFor help, feel free to reach me out on reddit (u/is_fake_account)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisfakeaccount%2Fredditsubmissionlocktimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisfakeaccount%2Fredditsubmissionlocktimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisfakeaccount%2Fredditsubmissionlocktimer/lists"}