<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def Publish(self, event_name, msg, delay=0):
 """Sends the message to event listeners."""

    events_lib.Events.PublishEvent(event_name, msg, delay=delay)