mirror of
https://github.com/Paillat-dev/discord-progress-bar.git
synced 2026-01-02 01:06:18 +00:00
Update README with revised limitations and remove local testing setup
Adjusted the limitations section for clarity and updated emoji limits to reflect current app-wide constraints. Removed the local testing setup section, likely to streamline the README and focus on essential information.
This commit is contained in:
35
README.md
35
README.md
@@ -290,10 +290,9 @@ await self.progress_bar_manager.create_emojis_from_files("custom_style", custom_
|
|||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Please be aware of the following limitations:
|
> Please be aware of the following limitations:
|
||||||
>
|
>
|
||||||
> - **Python Version**: Requires Python 3.12 only
|
> - **Python Version**: Supports Python 3.12 only
|
||||||
> - **Discord Bot Framework**: Currently only supports py-cord, not discord.py or other Discord API wrappers
|
> - **Discord Bot Framework**: Currently only supports py-cord, not discord.py or other Discord API wrappers
|
||||||
> - **Emoji Creation**: Requires bot permissions to create and manage emojis in at least one server
|
> - **Emoji Limits**: Subject to Discord's app emoji limits (2'000 emojis per app - should be plenty for most use cases)
|
||||||
> - **Emoji Limits**: Subject to Discord's emoji limits (50 custom emojis for regular servers, 200 for servers with Nitro boosts)
|
|
||||||
> - **Pre-release Status**: This package is currently in alpha stage and may have unexpected behaviors or breaking changes in future versions
|
> - **Pre-release Status**: This package is currently in alpha stage and may have unexpected behaviors or breaking changes in future versions
|
||||||
> - **Custom Styles**: Creating custom styles requires providing all six emoji parts (LEFT_EMPTY, LEFT_FILLED, MIDDLE_EMPTY, MIDDLE_FILLED, RIGHT_EMPTY, RIGHT_FILLED)
|
> - **Custom Styles**: Creating custom styles requires providing all six emoji parts (LEFT_EMPTY, LEFT_FILLED, MIDDLE_EMPTY, MIDDLE_FILLED, RIGHT_EMPTY, RIGHT_FILLED)
|
||||||
|
|
||||||
@@ -315,36 +314,6 @@ If you encounter issues or have questions about discord-progress-bar:
|
|||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
### Local Testing
|
|
||||||
|
|
||||||
To set up a local development environment:
|
|
||||||
|
|
||||||
1. Clone the repository:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://github.com/Paillat-dev/discord-progress-bar.git
|
|
||||||
cd discord-progress-bar
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Create a virtual environment and install dependencies:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
python -m venv .venv
|
|
||||||
source .venv/bin/activate # On Windows: .venv\Scripts\activate
|
|
||||||
pip install -e ".[dev]" # Install the package in development mode with dev dependencies
|
|
||||||
```
|
|
||||||
|
|
||||||
3. Create a `.env` file with your Discord bot token:
|
|
||||||
|
|
||||||
```
|
|
||||||
DISCORD_TOKEN=your_discord_bot_token
|
|
||||||
```
|
|
||||||
|
|
||||||
4. Run the example bot:
|
|
||||||
```bash
|
|
||||||
python examples/basic.py
|
|
||||||
```
|
|
||||||
|
|
||||||
### Contributing
|
### Contributing
|
||||||
|
|
||||||
1. Fork the repository
|
1. Fork the repository
|
||||||
|
|||||||
Reference in New Issue
Block a user