File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44import hoshino
55
66
7- __version__ = '0.2.1.1 '
7+ __version__ = '0.2.1.2 '
88
99try :
1010 config = hoshino .config .authMS .auth_config
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ async def approve_group_invite_auto(session):
7777 elif new_group_auth == 'authed' or new_group_auth == 'trial' :
7878 await asyncio .sleep (5 ) # 别发太快了
7979 # 避免重复try
80- await util .notify_group (group_id = gid , message = config .NEW_GROUP_MSG )
80+ await util .notify_group (group_id = gid , txt = config .NEW_GROUP_MSG )
8181 util .log (f'成功加入群{ gid } 中,该群授权状态{ new_group_auth } ' , 'group_add' )
8282 hoshino .logger .info (f'成功加入群{ gid } 中,该群授权状态{ new_group_auth } ' )
8383
@@ -217,4 +217,4 @@ async def check_number(group_id=0):
217217 # 检查单个群的情况, 只通知而不自动退出, 等到下次计划任务时再退出
218218 await util .notify_group (group_id = gid , txt = '群人数超过管理员设定的最大值, 请联系管理员' )
219219 return 'overflow'
220- return None
220+ return None
You can’t perform that action at this time.
0 commit comments