all events after 18 are now pub events
This commit is contained in:
@ -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ällar’n", '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):
|
||||
|
||||
Reference in New Issue
Block a user