Twitchirc

Latest version: v1.8.4

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

Scan your dependencies

Page 3 of 4

1.7

- minor change: `_arun` will now `await asyncio.sleep(0)` to give control to tasks in the background
- minor change: username and password will now be stored in memory when calling `Connection.login()`
- minor change: change a couple type hints
- minor addition: new `clone()` and `clone_and_send_batch()` methods in `Connection`
- minor addition: new `raw_data` field in all `Message`s that stores the raw data received from the server
- minor change: better `__repr__` for `Message`
- minor change: delete old parsing code.
- major addition: new `UserstateMessage`

1.6

- major change: better reconnecting,
- minor addition: you can now return lists from commands, any object that can be sent will be,
- minor addition: new 'reconnect' middleware action, called when reconnecting,
- major change: `AbstractMiddleware` now doesn't inherit from `abc.ABC`, to make it easier to add new events,
- minor fix: `ModerationContainer.format_channel_mode()` crashed when run, now it doesn't,
- minor addition: new `moderate()` method for `Connection`s and `Bot`s,
- minor change: `ModerationContainer`s can now not target a user and message,
- minor fix: `ModerationContainer.timeout()` now supports an `int` as the timeout length.

1.5

- major addition: async support,
- major addition: allow returning values from commands to send them,
- major addition: simple moderation features,
- minor addition: messages now have a link to the connection they came through,
- minor change: middleware will now ignore unknown events

1.4

- major addition: docs,
- major addition: middleware,
- minor: logging changes
- major: changes in how Message s work.
- minor: patterns in MESSAGE_PATTERN_DICT are now compiled.
- minor: add shell.py a simple module to make experimenting easier.

1.3

- Added secure option to [`Connection`](twitchirc/twitchirc/connection.py).
- Added [`RECONNECT_MESSAGE_PATTERN`](twitchirc/twitchirc/patterns.py) and [`ReconnectionMessage`](twitchirc/twitchirc/messages.pyL371).
- Implemented automatic reconnection in `Bot`, [here](twitchirc/twitchirc/bot.pyL299) and [here](twitchirc/twitchirc/bot.pyL321)
- Added automatic escaping of `/` and `.` to [`ChannelMessage.reply`](twitchirc/twitchirc/messages.pyL185)

1.2

Not secure
- Add docstrings to messages.py.
- Changed repr of Message.
- Added WhisperMessage.
- Added a scheduler to Bot.
- Added matcher_function field to Command.
- Fixed a bug in `Connection.__init__` not registering the atexit close handler.
- Changed regexes.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.