{"id":16821018,"url":"https://github.com/kangalio/rustbot","last_synced_at":"2025-08-21T09:07:05.701Z","repository":{"id":39484786,"uuid":"338856219","full_name":"kangalio/rustbot","owner":"kangalio","description":"[MOVED TO https://github.com/rust-community-discord/ferrisbot-for-discord] Rust programming language bot for Discord","archived":false,"fork":false,"pushed_at":"2024-07-03T01:29:23.000Z","size":699,"stargazers_count":93,"open_issues_count":8,"forks_count":32,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-16T08:15:35.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/rust-community-discord/ferrisbot-for-discord","language":"Rust","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/kangalio.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":"2021-02-14T17:06:44.000Z","updated_at":"2024-12-09T05:58:19.000Z","dependencies_parsed_at":"2024-10-27T11:59:26.059Z","dependency_job_id":"f405ecbd-508d-46fe-8fba-0d5259ed3b50","html_url":"https://github.com/kangalio/rustbot","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kangalio%2Frustbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kangalio%2Frustbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kangalio%2Frustbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kangalio%2Frustbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kangalio","download_url":"https://codeload.github.com/kangalio/rustbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230946999,"owners_count":18304866,"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-10-13T10:58:51.487Z","updated_at":"2024-12-23T10:27:52.620Z","avatar_url":"https://github.com/kangalio.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MOVED TO https://github.com/rust-community-discord/ferrisbot-for-discord\n\n# Rustbot\n\n## Inviting the bot\n\nSome permissions are required:\n- Send Messages: base command functionality\n- Manage Roles: for `?rustify` command\n- Manage Messages: for `?cleanup` command\n- Add Reactions: for `?rustify` command feedback\nFurthermore, the `applications.commands` OAuth2 scope is required for slash commands.\n\nHere's an invite link to an instance hosted by me on my Raspberry Pi, with the permissions and scopes incorporated:\nhttps://discord.com/oauth2/authorize?client_id=804340127433752646\u0026permissions=268445760\u0026scope=bot%20applications.commands\n\nAdjust the client_id in the URL for your own hosted instances of the bot.\n\n## Hosting the bot\n\nThe bot requires `Server Members Intent` enabled in the `Applications \u003e $YOUR_BOTS_NAME \u003e Bot`\nsettings of Discord's [developer portal](https://discord.com/developers/applications).\n\nRun the bot using `cargo run --release`.\n\nYou will need to provide several environment variables. A convenient way to do this is to copy the\n`.env.example` file to `.env` and fill out the values. Then run the bot with the `.env` file applied.\n\nAlso set `SQLX_OFFLINE` to `true` if you're running the bot for the first time. Otherwise, SQLx\nwill try to call into the database to check query correctness, which fails if the database hasn't\nbeen set up yet.\n\nExample command-line for Linux:\n`set -a \u0026\u0026 source .env \u0026\u0026 set +a \u0026\u0026 SQLX_OFFLINE=true cargo run --release`\n\n### Docker\n\nThis project has a Containerfile, so you can use Docker or Podman to run this bot if you wish.\nFor that, rename the `.env.example` file into `.env`, fill out the values, and run the command:\n\n```sh\ndocker-compose -f container-compose.yaml up -d --build\n```\n\nCurrently we're using Docker to run it, but eventually we'll make it work with just podman.\n\n## Credits\n\nThis codebase has its roots in [rust-lang/discord-mods-bot](https://github.com/rust-lang/discord-mods-bot/), the Discord bot running on the official Rust server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkangalio%2Frustbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkangalio%2Frustbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkangalio%2Frustbot/lists"}