Disputils

Latest version: v0.2.0

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

Scan your dependencies

0.2.0

Hooray, it's finally here! :tada:
This release has taken me waaaay too long, I'm sorry.

**Some of these changes might be braking previous code, so be careful!**

Improvements:
- possible to have any user interacting by setting `users` parameter to `None`
- add and enhance documentation
- add `hide_author` parameter for confirmation (29)
- listen for `raw_reaction_add` instead of `reaction_add` to not be reliant on message cache
- add keyword arguments to `run` method
* add `timeout` to customize timeout duration for pagination, multiple choice and confirmation (34)
* add `text`, `timeout_msg` and `quit_msg` for pagination and multiple choice (427bd24)

Fixes:
- type annotations and code formatting: PEP8, use [code style black](https://pypi.org/project/black), setup flake8 workflow (#28)
- ignore close emoji when dialog is set to not closable
- don't raise Forbidden error, when the bot lacks permission
- fix `MultipleChoice.embed` property not being used when run (30)
- `run` method not editing `self.message`, but instead sending a new message
- other small fixes

0.1.3

0.1.2

- CommandInvokeError fix 4
- added `closable` option for multiple choice 49894efbb99bacee0bc72cffb375c95f04ab7dbd

0.1.1

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.