thereeee we go i think thaaaat'll doooo it
This commit is contained in:
@@ -18,7 +18,7 @@ async def main():
|
||||
devices = await BleakScanner.discover()
|
||||
filtered_devices = [device for device in devices if any(device.address.upper().startswith(prefix) for prefix in VENDOR_PREFIXES)]
|
||||
if filtered_devices:
|
||||
now = datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f %z %f %F")[:-3] # includes miliseconds
|
||||
now = datetime.now().strftime("%Z %Y-%m-%d %H:%M:%S.%fF")[:-3] # includes miliseconds
|
||||
webhook_payload = {
|
||||
"content": f"{discord_tag_role} VLAT HAS BEEN SPOTTED MAC: {filtered_devices[0].address} TIME: {now}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user