Adding @ tag to Discord notification
This commit is contained in:
parent
fec010ac7a
commit
47e1ddcca5
@ -18,6 +18,7 @@ def sendDiscordNotification(*args, settings=SETTINGS):
|
|||||||
shipmentNotification = requests.post(
|
shipmentNotification = requests.post(
|
||||||
SETTINGS['DISCORD_WEBHOOK'],
|
SETTINGS['DISCORD_WEBHOOK'],
|
||||||
json = {
|
json = {
|
||||||
|
"content": "<@1242455259675230309>",
|
||||||
"embeds": [
|
"embeds": [
|
||||||
{
|
{
|
||||||
"title": ":package: New Inbound Shipment Detected :package:",
|
"title": ":package: New Inbound Shipment Detected :package:",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user