Update autocraft9x9.py
nodisc
This commit is contained in:
@@ -8,7 +8,7 @@ def log_and_print(message):
|
||||
# Add logging here if needed
|
||||
|
||||
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/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
|
||||
data = {"content": message}
|
||||
response = requests.post(webhook_url, json=data)
|
||||
log_and_print(f"Posted to Discord: {message}")
|
||||
@@ -58,4 +58,4 @@ focus_minecraft_window()
|
||||
shift_click_inventory_slots()
|
||||
final_message = f"Crafted 256 {crafted_item}(s)."
|
||||
log_and_print(final_message)
|
||||
post_to_discord(final_message)
|
||||
post_to_discord(final_message)
|
||||
|
||||
Reference in New Issue
Block a user