From d63e3f4f75b61c238f5152286dedaf7df99a0a4c Mon Sep 17 00:00:00 2001 From: vadim Date: Fri, 13 Dec 2019 00:29:03 +0100 Subject: [PATCH] add example for multiple webhook urls --- examples/multiple_webhook_urls.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 examples/multiple_webhook_urls.py diff --git a/examples/multiple_webhook_urls.py b/examples/multiple_webhook_urls.py new file mode 100644 index 0000000..b59a7d8 --- /dev/null +++ b/examples/multiple_webhook_urls.py @@ -0,0 +1,5 @@ +from discord_webhook import DiscordWebhook + +webhook_urls = ['webhook url 1', 'webhook url 2'] +webhook = DiscordWebhook(url=webhook_urls, content='Webhook Message') +response = webhook.execute()