all events after 18 are now pub events

This commit is contained in:
2025-11-12 10:31:34 +01:00
parent c5dc1de7ee
commit 5292527a1c

View File

@ -77,7 +77,7 @@ def send_to_discord_webhook(data, webhook_url):
print(f"Discord webhook error: {e}\nPayload: {payload}")
return None
# Group events
pub_keywords = ['pub', "wermlandskällarn", 'orvars krog']
pub_keywords = ['pub', 'wermlandskälla', 'orvars krog']
def is_pub_event(e):
# Keyword match
if any(k in e['event'].lower() for k in pub_keywords):