Skip to content
Snippets Groups Projects
Commit f1aeeb9f authored by Pascal Engeler's avatar Pascal Engeler
Browse files

Updates

parent 27c862bf
No related branches found
No related tags found
No related merge requests found
import requests
import json
class Element:
def __init__(self):
self.url = "https://hookshot.mbot.ethz.ch/webhook/7b33c3a4-7fe0-4e92-afc0-0ed07790ec8c"
def warn(self, message):
myobj = {"text":message,"username":"Zygote"}
try:
requests.post(self.url, json=myobj)
#print(myobj["text"])
except:
print("Failed to send message.")
\ No newline at end of file
1709028399.7751513,30.999624,22.509048,31.170196,30.556627
\ No newline at end of file
1721723768.1442149,30.998525,25.575567,31.34614,25.994017,33.898181
\ No newline at end of file
import requests
import json
class Element:
def __init__(self):
self.url = "https://hookshot.mbot.ethz.ch/webhook/7b33c3a4-7fe0-4e92-afc0-0ed07790ec8c"
def warn(self, message):
myobj = {"text":message,"username":"Zygote"}
try:
requests.post(self.url, json=myobj)
except:
print("Failed to send message.")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment