Skip to content

Commit

Permalink
🔖 version 0.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RF-Tar-Railt committed Jan 28, 2025
1 parent 28b9f86 commit 7b18d19
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arclet/entari/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
WS = WebsocketsInfo
WH = WebhookInfo

__version__ = "0.11.2"
__version__ = "0.12.0"
6 changes: 6 additions & 0 deletions example_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
propagate
# Entari,
)
from arclet.entari.event.command import CommandOutput
from arclet.entari.filter import Interval

metadata(__file__)
Expand Down Expand Up @@ -106,6 +107,11 @@ async def unloaded(event):
print(f">> Plugin {event.name} Unloaded")


@plug.use(CommandOutput)
async def output_hook(event: CommandOutput):
content = event.content
return f"{event.type.title()}:\n{content}"

# @scheduler.cron("* * * * *")
# async def broadcast(app: Entari):
# for account in app.accounts.values():
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "arclet-entari"
version = "0.11.2"
version = "0.12.0"
description = "Simple IM Framework based on satori-python"
authors = [
{name = "RF-Tar-Railt",email = "rf_tar_railt@qq.com"},
Expand Down

0 comments on commit 7b18d19

Please sign in to comment.