mirror of
https://github.com/FAUSheppy/tmnf-replay-server.git
synced 2025-12-06 15:11:36 +01:00
wip:
This commit is contained in:
@@ -6,6 +6,9 @@ def send_notification(app, target_user, mapname, old_replay, new_replay):
|
||||
|
||||
url = app.config["DISPATCH_SERVER"]
|
||||
|
||||
if not url:
|
||||
return
|
||||
|
||||
# send to event dispatcher #
|
||||
message = "Trackmania: Record broken on {}".format(mapname)
|
||||
message += "Old time: {}".format(old_replay.get_human_readable_time())
|
||||
|
||||
Reference in New Issue
Block a user