Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Sudo-Ivan committed Feb 14, 2025
1 parent d33c99c commit 1f8bcc0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [0.5.1] - 2025-02-14

- **Remove unused variables**
- **Fix version**

## [0.5.0] - 2025-02-14

- **Update config, cli and core**
Expand Down Expand Up @@ -251,4 +256,5 @@ bot = LXMFBot(
[0.4.6]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.6
[0.4.7]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.7
[0.4.8]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.8
[0.4.9]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.9
[0.4.9]: https://github.com/lxmfy/lxmfy/releases/tag/v0.4.9
[0.5.0]: https://github.com/lxmfy/lxmfy/releases/tag/v0.5.0
2 changes: 1 addition & 1 deletion lxmfy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"ScheduledTask"
]

__version__ = "0.4.9"
__version__ = "0.5.1"
4 changes: 0 additions & 4 deletions lxmfy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ def _register_builtin_events(self):
"""Register built-in event handlers"""
@self.events.on("message_received", EventPriority.HIGHEST)
def handle_message(event):
message = event.data["message"]
sender = event.data["sender"]

# Check spam protection
Expand All @@ -216,9 +215,6 @@ def handle_message(event):
event.cancel()
self.send(sender, msg)
return

# Let the event system handle it, don't call _process_message directly
# Remove the _process_message call from here

def _process_message(self, message, sender):
"""Process an incoming message"""
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "lxmfy"
version = "0.4.9"
version = "0.5.1"
description = "LXMF bot framework for creating bots for the Reticulum Network"
authors = ["Ivan"]
readme = "README.md"
Expand Down

0 comments on commit 1f8bcc0

Please sign in to comment.