diff --git a/redlight_bot.py b/redlight_alert_bot.py similarity index 89% rename from redlight_bot.py rename to redlight_alert_bot.py index 4a1d6c8..9451089 100644 --- a/redlight_bot.py +++ b/redlight_alert_bot.py @@ -14,7 +14,7 @@ logger.addHandler(file_handler) # Prevent logger's messages from propagating to the root logger. logger.propagate = False -class RedlightBot: +class RedlightAlertBot: def __init__(self, homeserver, access_token): self.homeserver = homeserver self.access_token = access_token @@ -35,4 +35,4 @@ class RedlightBot: if response.status_code == 200: logger.info("Alert message sent successfully!") else: - logger.info(f"Failed to send allert message. Status code: {response.status_code}, Response: {response.text}") + logger.info(f"Failed to send alert message. Status code: {response.status_code}, Response: {response.text}")