We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a363d9b commit ca28ca0Copy full SHA for ca28ca0
function_app.py
@@ -31,6 +31,7 @@ def create_content(req_body):
31
32
spot_deeplink = create_spot_deeplink(source, fullCallsign, wwffRef)
33
34
+ # flags = 4 means it will suppress embeds: https://discord.com/developers/docs/resources/message#message-object-message-flags
35
content = {"content": f"{fullCallsign} | {source} | freq: {frequency} | mode: {mode} | loc: {summitRef}{wwffRef} | {spot_deeplink}", "flags": 4}
36
return content
37
@@ -40,7 +41,6 @@ def call_target(content):
40
41
return func.HttpResponse(response.text, status_code=response.status_code)
42
43
def create_spot_deeplink(source, fullCallsign, wwffRef):
-
44
match source:
45
case "sotawatch":
46
return f"[See their latest spot](https://sotl.as/activators/{fullCallsign})"
0 commit comments