You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notifications are used by monitors, usually to notify about an event. Each notification has it's own settings and behaviors.
36
36
37
-
Notifications must inherit from the `src.notifications.base_notification.BaseNotification`class. The method `reactions_list`must return a list of reactions that will trigger an action. Each reaction is a tuple with the reaction name and a list of coroutines that must be called when the reaction is triggered.
37
+
Notifications must have the structure defined by the `src.notifications.base_notification.BaseNotification`**protocol**. The method `reactions_list`returns a list of reactions that will trigger an action. Each reaction is a tuple with the reaction name and a list of coroutines that must be called when the reaction is triggered.
0 commit comments