line(...):

...

artifact_to_be_communicated = ...message = my_formatter_step(artifact_to_be_communicated)

approved = discord_alerter_ask_step(message)

... # Potentially have different behavior in subsequent steps if `approved`

if __name__ == "__main__":

my_pipeline()

For more information and a full list of configurable attributes of the Discord alerter, check out the SDK Docs .

PreviousAlerters

NextSlack Alerter

Last updated 15 days ago