docs: unify README, setup guide, and description#55
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3de50009fe
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ### Discord bot setup | ||
|
|
||
| 1. Go to [discord.com/developers/applications](https://discord.com/developers/applications) and create a new application. | ||
| 2. Under **Bot**, enable the **Message Content Intent** and **Server Members Intent**. |
There was a problem hiding this comment.
Include the Presence Intent in setup
When someone follows these new bot setup instructions, the application only enables Message Content and Server Members, but the client requests GatewayIntents::GUILD_PRESENCES in src/bot.rs. For a freshly created Discord app where the Presence Intent is still disabled, Discord rejects the gateway connection for disallowed intents, so the bot will fail to start until this privileged intent is enabled or the code stops requesting it.
Useful? React with 👍 / 👎.
|
|
||
| 4. Set up the database: | ||
| ```bash | ||
| sqlx database create |
There was a problem hiding this comment.
Install sqlx-cli before invoking sqlx
This setup step now calls sqlx database create on a clean checkout without ever installing the sqlx CLI. A standard Rust install only provides Cargo/Rust tools, so users following the README hit sqlx: command not found before they can create the SQLite database or run migrations; the previous instructions included cargo install sqlx-cli before these commands.
Useful? React with 👍 / 👎.
Standardizes the README format and updates the repository description for consistency across all public repositories.
Changes: