Skip to content

Commit

Permalink
Update webhooks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
axestyra authored Jun 24, 2024
1 parent a3e18a0 commit 9e15adf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/network/webhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def modcall(self, char, ipid, area, reason=None):
description=description,
)

<<<<<<< modpass-log
def login(self, client=None, loginprofile=""):
if "login_webhook" not in self.server.config:
return
Expand All @@ -106,7 +105,7 @@ def login(self, client=None, loginprofile=""):

self.send_webhook(username=username,
avatar_url=avatar_url, message=message)
=======

def needcall(self, client=None, reason=None):
if "need_webhook" not in self.server.config:
return
Expand Down Expand Up @@ -140,7 +139,7 @@ def needcall(self, client=None, reason=None):
description=description,
url=url,
)
>>>>>>> master


def kick(self, ipid, reason="", client=None, char=None):
is_enabled = self.server.config["kick_webhook"]["enabled"]
Expand Down

0 comments on commit 9e15adf

Please sign in to comment.