File tree 3 files changed +8
-2
lines changed
3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 67
67
WS = WebsocketsInfo
68
68
WH = WebhookInfo
69
69
70
- __version__ = "0.11.2 "
70
+ __version__ = "0.12.0 "
Original file line number Diff line number Diff line change 12
12
propagate
13
13
# Entari,
14
14
)
15
+ from arclet .entari .event .command import CommandOutput
15
16
from arclet .entari .filter import Interval
16
17
17
18
metadata (__file__ )
@@ -106,6 +107,11 @@ async def unloaded(event):
106
107
print (f">> Plugin { event .name } Unloaded" )
107
108
108
109
110
+ @plug .use (CommandOutput )
111
+ async def output_hook (event : CommandOutput ):
112
+ content = event .content
113
+ return f"{ event .type .title ()} :\n { content } "
114
+
109
115
# @scheduler.cron("* * * * *")
110
116
# async def broadcast(app: Entari):
111
117
# for account in app.accounts.values():
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " arclet-entari"
3
- version = " 0.11.2 "
3
+ version = " 0.12.0 "
4
4
description = " Simple IM Framework based on satori-python"
5
5
authors = [
6
6
{
name =
" RF-Tar-Railt" ,
email =
" [email protected] " },
You can’t perform that action at this time.
0 commit comments