Update trader.py

remove
This commit is contained in:
alexpolo1
2024-11-08 08:11:46 +01:00
committed by GitHub
parent c22c2aa4fa
commit 966f3e5632
+2 -2
View File
@@ -13,7 +13,7 @@ def log_and_print(message):
logging.info(message)
def post_to_discord(message):
webhook_url = 'https://discord.com/api/webhooks/1171735460729606145/Fyls4_uD7it29TNo7LktQFynb3k1K-BHLx9Y4WqzDK806o1_bVTNz94JNc996kDi-jE6'
webhook_url = 'https://discord.com/api/webhooks/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
data = {"content": message}
response = requests.post(webhook_url, json=data)
log_and_print(f"Posted to Discord: {message}")
@@ -139,4 +139,4 @@ focus_minecraft_window()
for _ in range(40): # Number of trades to perform
result = trade_actions()
if not result:
break # Stop the script if trade window is not detected
break # Stop the script if trade window is not detected