{"id":15008885,"url":"https://github.com/rapptz/robodanny","last_synced_at":"2025-05-16T01:04:46.959Z","repository":{"id":65816320,"uuid":"48281362","full_name":"Rapptz/RoboDanny","owner":"Rapptz","description":"A discord bot for servers that I like.","archived":false,"fork":false,"pushed_at":"2024-10-14T09:49:12.000Z","size":1926,"stargazers_count":811,"open_issues_count":10,"forks_count":257,"subscribers_count":27,"default_branch":"rewrite","last_synced_at":"2025-05-16T01:04:08.991Z","etag":null,"topics":["bot","discord","discord-py","python-3"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Rapptz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2015-12-19T12:32:25.000Z","updated_at":"2025-05-06T21:25:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"75f78144-6448-47ef-aacc-8c9202beae03","html_url":"https://github.com/Rapptz/RoboDanny","commit_stats":{"total_commits":1571,"total_committers":38,"mean_commits":41.3421052631579,"dds":0.03437301082113309,"last_synced_commit":"39af9d71ffd5f099094a05352c18b987a1dc5d04"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapptz%2FRoboDanny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapptz%2FRoboDanny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapptz%2FRoboDanny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rapptz%2FRoboDanny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rapptz","download_url":"https://codeload.github.com/Rapptz/RoboDanny/tar.gz/refs/heads/rewrite","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"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":["bot","discord","discord-py","python-3"],"created_at":"2024-09-24T19:21:29.536Z","updated_at":"2025-05-16T01:04:46.938Z","avatar_url":"https://github.com/Rapptz.png","language":"Python","readme":"## R. Danny\n\nA personal bot that runs on Discord.\n\n## Running\n\nI would prefer if you don't run an instance of my bot. Just call the join command with an invite URL to have it on your server. The source here is provided for educational purposes for discord.py.\n\nNevertheless, the installation steps are as follows:\n\n1. **Make sure to get Python 3.8 or higher**\n\nThis is required to actually run the bot.\n\n2. **Set up venv**\n\nJust do `python3.8 -m venv venv`\n\n3. **Install dependencies**\n\nThis is `pip install -U -r requirements.txt`\n\n4. **Create the database in PostgreSQL**\n\nYou will need PostgreSQL 9.5 or higher and type the following\nin the `psql` tool:\n\n```sql\nCREATE ROLE rdanny WITH LOGIN PASSWORD 'yourpw';\nCREATE DATABASE rdanny OWNER rdanny;\nCREATE EXTENSION pg_trgm;\n```\n\n5. **Setup configuration**\n\nThe next step is just to create a `config.py` file in the root directory where\nthe bot is with the following template:\n\n```py\nclient_id   = '' # your bot's client ID\ntoken = '' # your bot's token\ndebug = False # used to disable certain features\ncarbon_key = '' # your bot's key on carbon's site\nbots_key = '' # your key on bots.discord.pw\npostgresql = 'postgresql://user:password@host/database' # your postgresql info from above\nchallonge_api_key = '...' # for tournament cog\nstat_webhook = ('\u003cwebhook_id\u003e','\u003cwebhook_token\u003e') # a webhook to a channel for bot stats.\n# when you generate your webhook, take the token and ID from the URL like so:\n# https://discord.com/api/webhooks/\u003cid\u003e/\u003ctoken\u003e\ngithub_token = '' # your github API personal token\nopen_collective_token = '' # your open collective personal token\noc_discord_client_id = '' # the client ID of the Open Collective Discord Integration application\noc_discord_client_secret = '' # the client secret of the Open Collective Discord Integration application\n```\n\nA lot of these configuration variables are undocumented precisely because the bot is meant for personal use.\n\n6. **Configuration of database**\n\nTo configure the PostgreSQL database for use by the bot, go to the directory where `launcher.py` is located, and run the script by doing `python3.8 launcher.py db init`\n\n## Privacy Policy and Terms of Service\n\nDiscord requires me to make one of these.\n\nThere isn't really anything to note. No personal data is stored.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapptz%2Frobodanny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frapptz%2Frobodanny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frapptz%2Frobodanny/lists"}