{"id":21651023,"url":"https://github.com/moverval/discord-auto-partner","last_synced_at":"2025-07-17T19:31:16.562Z","repository":{"id":50047953,"uuid":"217887292","full_name":"moverval/Discord-Auto-Partner","owner":"moverval","description":"A Discord Bot that takes over doing partnerships and constantly checks if they are valid","archived":false,"fork":false,"pushed_at":"2021-06-05T14:02:56.000Z","size":155,"stargazers_count":10,"open_issues_count":3,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-01T02:13:48.681Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/moverval.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}},"created_at":"2019-10-27T16:59:25.000Z","updated_at":"2023-04-01T02:13:48.681Z","dependencies_parsed_at":"2022-08-30T02:12:13.924Z","dependency_job_id":null,"html_url":"https://github.com/moverval/Discord-Auto-Partner","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moverval%2FDiscord-Auto-Partner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moverval%2FDiscord-Auto-Partner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moverval%2FDiscord-Auto-Partner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moverval%2FDiscord-Auto-Partner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moverval","download_url":"https://codeload.github.com/moverval/Discord-Auto-Partner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226293581,"owners_count":17601740,"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-25T07:46:27.459Z","updated_at":"2024-11-25T07:46:28.353Z","avatar_url":"https://github.com/moverval.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord Partner Manager\r\n\r\nThis Bot manages partner requests, checks if the partnership is valid and when not removes them from the partner list.\r\n\r\n## How to run this bot?\r\n\r\nThis bot is powered with [node](https://nodejs.org/en/), so [node](https://nodejs.org/en/) should be installed on the machine which should run this.\r\n\r\nUse git to clone this project into one folder\r\n\r\n```\r\ngit clone https://github.com/MMNN321/Discord-Auto-Partner.git\r\n```\r\n\r\nand install the packages with\r\n\r\n```\r\nnpm install\r\n```\r\n\r\nThe bot needs some information. To provide it, a `.env` must be created.\r\nThen it needs variables that say how the bot can host itself. They must all be set!\r\n\r\n| Name                                | What needs to be inserted                                                     |\r\n| ----------------------------------- | ----------------------------------------------------------------------------- |\r\n| CLIENT_SECRET                       | The Bot secret from Discord                                                   |\r\n| CLIENT_INVOKE                       | The command prefix for this bot                                               |\r\n| CLIENT_INVITE                       | An invite link for your bot                                                   |\r\n| MAIN_GUILD                          | The guild's id, the bot runs for                                              |\r\n| MAIN_GUILD_MINIMAL_MEMBERS_REQUIRED | How many members are required on partner server to add it to the partner list |\r\n| MAIN_GUILD_NAME                     | The guild's name                                                              |\r\n| PARTNER_CATEGORY                    | The category for the partner channels. It needs the categories name           |\r\n| COMMAND_BOOST                       | A feature that partners can bump themself                                     |\r\n\r\nHere is an example\r\n\r\n```\r\nCLIENT_SECRET=\"Your token\"\r\nCLIENT_INVOKE=\"++\"\r\nCLIENT_INVITE=\"https://discordapp.com/api/oauth2/authorize?client_id=638025226168303626\u0026permissions=68608\u0026scope=bot\"\r\nMAIN_GUILD=\"460424836246929409\"\r\nMAIN_GUILD_MINIMAL_MEMBERS_REQUIRED=30\r\nMAIN_GUILD_NAME=\"DeineWerbung\"\r\nPARTNER_CATEGORY=\"Partners\"\r\nCOMMAND_BOOST=true\r\n```\r\n\r\nLastly, create a file named `partnerMessage.md`. In there the partner message can be inserted.\r\n\r\nWhen all variables are set, the bot should be startable with\r\n\r\n```\r\nnpm start\r\n```\r\n\r\n## Change the default messages of the bot\r\n\r\nAll messages are placed in two files named `msg.json` and `status.json`. Select the old message and replace it with a new one. If there is a variable\r\nthat needs to be placed in this message, use percentages to mark it e.g. `%GUILD_ID%` (this would display the guild id from the main guild).\r\n\r\nAll predefined variables:\r\n\r\n| Name                  | Use                                                |\r\n| --------------------- | -------------------------------------------------- |\r\n| MINIMAL_MEMBER        | The minimal member count that is needed to partner |\r\n| GUILD_NAME            | The guild name from main guild                     |\r\n| GUILD_ID              | The guild id from main guild                       |\r\n| PARTNER_CATEGORY      | The partner category name                          |\r\n| PARTNER_MESSAGE       | The content from partnerMessage.md                 |\r\n| CLIENT_INVOKE         | The prefix for the bot                             |\r\n| GUILD_NAME_LOWER_CASE | GUILD_NAME in lower case                           |\r\n\r\nOwn variables can be added in `index.js/JsonVars`. Just insert a new variable and it will be visible in the json document.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoverval%2Fdiscord-auto-partner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoverval%2Fdiscord-auto-partner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoverval%2Fdiscord-auto-partner/lists"}