Pycordia

Latest version: v0.2.1

Safety actively analyzes 622275 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.1

After a while of no updates, version 0.2.1 is here. It adds some general improvements and other quality-of-life things.

**Notable features**
- `Client.on()` decorator; another way of doing `Client.register_events`
- `Client.get_*` methods; another way of using the respective model's `from_id` methods
- `User.created_on`: check when an user was created
- Typehinting fixes; this should make Pycordia fair better with certain linters and tools.
- Other general improvements and minor fixes

0.2.0

This is the first major release of Pycordia. It introduces many changes related to performance, models, and other things.

- Errors and representations are clearer
- No longer required to provide `Client` to models
- Support for multiple event handlers (for same event)

The full list of changes can be found [here](https://angelcarias.github.io/pycordia/docs/source/changelog.html#pre-alpha-the-first-big-step)

0.1.2

This update contains a general improvement to the websocket. It now implements compression and works far more reliably than in previous versions.

0.1.1

This is a minor update that fixes some bugs:
- Migrated from `await` to `asyncio.gather` for events, this allow the events to be truly asynchronous.
- Other general improvements

0.1.0

This is the first semi-stable release of Pycordia.
It includes the most common features of a bot, including event handling, message creation, embeds, updates, and more.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.