From 27edc4d95318d1b994a665ac9fd926de961cab98 Mon Sep 17 00:00:00 2001 From: Frisk Date: Sun, 26 Jul 2020 16:41:33 +0200 Subject: [PATCH] fix --- src/discord.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/discord.py b/src/discord.py index 27edf98..147a66c 100644 --- a/src/discord.py +++ b/src/discord.py @@ -32,8 +32,7 @@ async def wiki_removal(wiki_id, status): async def webhook_removal_monitor(webhook_url: list, reason: int): - await send_to_discord_webhook_monitoring(DiscordMessage("compact", "webhook/remove", None, content="The webhook {} has been removed due to {}.".format("https://discord.com/api/webhooks/" + webhook_url[0], reason), wiki=None), - aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(4.0))) + await send_to_discord_webhook_monitoring(DiscordMessage("compact", "webhook/remove", None, content="The webhook {} has been removed due to {}.".format("https://discord.com/api/webhooks/" + webhook_url[0], reason), wiki=None)) class DiscordMessage: