I terrify myself
This commit is contained in:
2
main.py
2
main.py
@@ -50,9 +50,7 @@ def home():
|
|||||||
def convert(uuid):
|
def convert(uuid):
|
||||||
lookup = populate_webhook_lookup()
|
lookup = populate_webhook_lookup()
|
||||||
webhook = lookup.get(uuid)
|
webhook = lookup.get(uuid)
|
||||||
print(lookup)
|
|
||||||
ghost_payload = request.get_json()
|
ghost_payload = request.get_json()
|
||||||
print(ghost_payload)
|
|
||||||
discord_payload = convert_ghost_to_discord(ghost_payload)
|
discord_payload = convert_ghost_to_discord(ghost_payload)
|
||||||
|
|
||||||
r = httpx.post(webhook, data=discord_payload)
|
r = httpx.post(webhook, data=discord_payload)
|
||||||
|
|||||||
Reference in New Issue
Block a user