Update traderv2.py

remove
This commit is contained in:
alexpolo1
2024-11-08 08:15:03 +01:00
committed by GitHub
parent 6a09d90fd7
commit bfc6100320
+1 -1
View File
@@ -22,7 +22,7 @@ def log_and_print(message):
logging.info(message)
def post_to_discord(message):
webhook_url = 'https://discord.com/api/webhooks/1191486208895877150/-pxqBZs6RSUOBFFhPH8SwelQoaU5MEU9XX28fmp90EqNM0G98qkkZxsXfRxu7nN2Ze1X'
webhook_url = 'https://discord.com/api/webhooks/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
data = {"content": message}
response = requests.post(webhook_url, json=data)
log_and_print(f"Posted to Discord: {message}")