Skip to content

Commit

Permalink
<jx3>[feat]2004事件取消限制服务器
Browse files Browse the repository at this point in the history
  • Loading branch information
HornCopper committed Jul 28, 2024
1 parent f55737a commit 59ee50b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/jx3/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ class JX3API818Event(JX3APIPushEvent):
server: str = ""

def msg(self) -> JX3APIOutputMsg:
final_server = self.server if self.server != "-" else ""
return JX3APIOutputMsg(msg=f"有新的八卦推送来啦!\n标题:{self.title}\n{self.url}\n来源:{self.name}吧", server=final_server, name="818")
return JX3APIOutputMsg(msg=f"有新的八卦推送来啦!\n标题:{self.title}\n{self.url}\n来源:{self.name}吧", name="818")

@handle_event(2005)
class JX3APIPassEvent(JX3APIPushEvent):
Expand Down

0 comments on commit 59ee50b

Please sign in to comment.