{"id":17868251,"url":"https://github.com/matmoore/the-judge","last_synced_at":"2025-04-02T22:26:36.933Z","repository":{"id":40717232,"uuid":"267822256","full_name":"MatMoore/the-judge","owner":"MatMoore","description":"A discord bot to run a points system on your server","archived":false,"fork":false,"pushed_at":"2023-06-22T17:22:09.000Z","size":90,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T12:47:08.455Z","etag":null,"topics":["discord-bot"],"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/MatMoore.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":"2020-05-29T09:46:26.000Z","updated_at":"2021-07-27T10:53:40.000Z","dependencies_parsed_at":"2024-10-29T07:45:21.413Z","dependency_job_id":null,"html_url":"https://github.com/MatMoore/the-judge","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/MatMoore%2Fthe-judge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatMoore%2Fthe-judge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatMoore%2Fthe-judge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MatMoore%2Fthe-judge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MatMoore","download_url":"https://codeload.github.com/MatMoore/the-judge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246901590,"owners_count":20852248,"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":["discord-bot"],"created_at":"2024-10-28T09:57:23.838Z","updated_at":"2025-04-02T22:26:36.901Z","avatar_url":"https://github.com/MatMoore.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Judge\n\n![The Judge in The Good Place](images/the-good-place-2-judge.jpg)\n\nA discord bot to run a points system on your server.\n\n## Commands\n\nSay \"!help\" at any time to print the list of commands.\n\n### !scores\n\nPrint the scores\n\n### !give\n\nAwards points. You can award any number of points.\n\nFormat: `!give {number} points to {user}[...]`\n\nFor example:\n\n```\n!give 100 points to @user\n```\n\n```\n!give 0.0000001 points to @user for participating\n```\n\n## Setup instructions\n\nThis bot is not set to public, but you can set up your own instance by following these instructions.\n\n### Prerequisites\n\n- Node.js 12.0.0 or newer\n- PostgreSQL\n\n### Discord setup\n\n- [Create a bot application for Discord](https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot)\n- [Invite the bot to your server](https://discordjs.guide/preparations/adding-your-bot-to-servers.html#bot-invite-links)\n\n### Environment\n\nThe app needs the following environment variables to be set:\n\n- DISCORD_TOKEN - the token for the bot you created in the step above\n- PGHOST - database host (default: 'localhost')\n- PGUSER - database user (default: process.env.USER)\n- PGDATABASE - database name (default: process.env.USER)\n- PGPASSWORD - database password (default: null)\n- PGPORT - database port (default: 5432)\n\nFor a development environment, you can set these in a `.env` file:\n\n```\nDISCORD_TOKEN=xxxx\nPGDATABASE=mydatabasename\n...\n```\n\n### Running the app\n\nRun the app with:\n\n```\nnode index.js\n```\n\nFor a development environment, you may want to run with [nodemon](https://github.com/remy/nodemon) for auto-reloading:\n\n```\nnodemon index.js\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatmoore%2Fthe-judge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatmoore%2Fthe-judge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatmoore%2Fthe-judge/lists"}