Skip to content

Commit

Permalink
格式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
haikerwang committed Sep 17, 2023
1 parent ed904ed commit f91aae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timetask.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def add_timeTask(self, content, e_context: EventContext):
channel_name = RobotConfig.conf().get("channel_type", "wx")
groupId = taskModel.get_gropID_withGroupTitle(groupTitle , channel_name)
if len(groupId) <= 0:
defaultErrorMsg = f"⏰定时任务指令格式异常😭,未找到群名为 {groupTitle} 的群聊,请核查!" + self.get_default_remind(TimeTaskRemindType.Add_Failed)
defaultErrorMsg = f"⏰定时任务指令格式异常😭,未找到群名为{groupTitle}的群聊,请核查!" + self.get_default_remind(TimeTaskRemindType.Add_Failed)
self.replay_use_default(defaultErrorMsg, e_context)
return

Expand Down

0 comments on commit f91aae0

Please sign in to comment.