from consts.notification_type import NotificationType
from notifications.base_notification import BaseNotification


class CompLevelStartingNotification(BaseNotification):

    def __init__(self, match, event):
        self.match = match
        self.event = event

    def _build_dict(self):
        data = {}
        data['message_type'] = NotificationType.type_names[NotificationType.LEVEL_STARTING]
        data['message_data'] = {}
        data['message_data']['event_name'] = self.event.name
        data['message_data']['comp_level'] = self.match.comp_level
        data['message_data']['scheduled_time'] = self.match.time
        return data

@@ -491,16 +491,80 @@
 nt.name%0A
+        data%5B'message_data'%5D%5B'event_key'%5D = self.event.key_name%0A
         

Add event key to comp level starting notification