Skip to content

Commit ca28ca0

Browse files
committed
comment and cleanup
1 parent a363d9b commit ca28ca0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

function_app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def create_content(req_body):
3131

3232
spot_deeplink = create_spot_deeplink(source, fullCallsign, wwffRef)
3333

34+
# flags = 4 means it will suppress embeds: https://discord.com/developers/docs/resources/message#message-object-message-flags
3435
content = {"content": f"{fullCallsign} | {source} | freq: {frequency} | mode: {mode} | loc: {summitRef}{wwffRef} | {spot_deeplink}", "flags": 4}
3536
return content
3637

@@ -40,7 +41,6 @@ def call_target(content):
4041
return func.HttpResponse(response.text, status_code=response.status_code)
4142

4243
def create_spot_deeplink(source, fullCallsign, wwffRef):
43-
4444
match source:
4545
case "sotawatch":
4646
return f"[See their latest spot](https://sotl.as/activators/{fullCallsign})"

0 commit comments

Comments
 (0)