{"id":25200190,"url":"https://github.com/moronixproduct3/grofit","last_synced_at":"2026-05-01T14:32:39.978Z","repository":{"id":276195429,"uuid":"95384575","full_name":"MoronixProduct3/grofit","owner":"MoronixProduct3","description":"Discord bot that checks if a text messages follows a format","archived":false,"fork":false,"pushed_at":"2017-10-17T22:16:41.000Z","size":5393,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T18:47:43.279Z","etag":null,"topics":["bot","discord","grofit","regex","regular-expression"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoronixProduct3.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}},"created_at":"2017-06-25T20:39:19.000Z","updated_at":"2018-01-28T18:59:18.000Z","dependencies_parsed_at":"2025-02-06T20:44:27.430Z","dependency_job_id":null,"html_url":"https://github.com/MoronixProduct3/grofit","commit_stats":null,"previous_names":["moronixproduct3/grofit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MoronixProduct3/grofit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoronixProduct3%2Fgrofit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoronixProduct3%2Fgrofit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoronixProduct3%2Fgrofit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoronixProduct3%2Fgrofit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoronixProduct3","download_url":"https://codeload.github.com/MoronixProduct3/grofit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoronixProduct3%2Fgrofit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["bot","discord","grofit","regex","regular-expression"],"created_at":"2025-02-10T04:12:43.251Z","updated_at":"2026-05-01T14:32:39.961Z","avatar_url":"https://github.com/MoronixProduct3.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grofit\nThis discord project is used to monitor text channels and remove messages that do not follow a standard format.\n\nIt uses 2 regular expressions to decide if the format is respected. The \"white\" regex must match in the message for it to be tolerated. The \"black\" regex must not hit anywhere for the message to be tolerated. A message is only tolerated if both the white and black regex pass their test.\n\n## Install\n1. Install node.js on your machine\n2. Clone this directory\n3. Create a \"key.txt\" file in the root folder and write the discord login token of your bot.\n4. Create a \"owner.txt\" file in the root folder and write the discord id of the bot owner.\n\n## Commands\n\n### regulate\nApplies the rules to the channel passed as an argument.  Accepts more than one channel at a time. ( Admin only )\n\nAliases : **rg**\n\nSyntax: `regulate #tradeChannel`\n\n### deregulate\nRemoves the effect of `regulate`. The text channel passed as an argument will no longer be affected by the bot. If `all` is passed as an argument, all the text channels will be cleared. ( Admin only )\n\nAliases : **drg**\n\nSyntax: `deregulate #tradeChannel .. | all`\n\n### list_regulated\nPrints a list of all the regulated channels on the server. This command can be ran by anyone.\n\nAliases : **lr**\n\nSyntax: `list_regulated`\n\n### regulation_blacklist\nSets the regular expression that valid messages should not match. Calling this function without arguments simply displays the current regular expression ( Any user ). Regular expressions must follow javascript standards. Typing `disable` as an argument will disable the \"black\" filter. ( Admin only )\n\nAliases : **rbl**\n\nSyntax: `regulation_blacklist /regex/mods | disable`\n\n### regulation_whitelist\nSets the regular expression that valid messages must match. Calling this function without arguments simply displays the current regular expression ( Any user ). Regular expressions must follow javascript standards. Typing `disable` as an argument will disable the \"white\" filter. ( Admin only )\n\nAliases : **rwl**\n\nSyntax: `regulation_whitelist /regex/mods | disable`\n\n### regulation_message\nChange the message sent to those who post messages that do not respect the format in trade chat. If no argument is provided, the message will be reset to default.( Admin only )\n\nAliases : **rgm**\n\nSyntax: `regulation_message message`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoronixproduct3%2Fgrofit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoronixproduct3%2Fgrofit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoronixproduct3%2Fgrofit/lists"}