From 5a6b6c073b99ae85f92874838815ae50fe67997b Mon Sep 17 00:00:00 2001 From: Ske Date: Fri, 8 Mar 2019 15:42:20 +0100 Subject: [PATCH] Whoops pt. something --- src/pluralkit/bot/proxy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pluralkit/bot/proxy.py b/src/pluralkit/bot/proxy.py index 9343cb2b..820c8896 100644 --- a/src/pluralkit/bot/proxy.py +++ b/src/pluralkit/bot/proxy.py @@ -21,6 +21,7 @@ async def get_or_create_webhook_for_channel(conn, bot_user: discord.User, channe if webhook_from_db: webhook_id, webhook_token = webhook_from_db + session = channel._state.http._session hook = discord.Webhook.partial(webhook_id, webhook_token, adapter=discord.AsyncWebhookAdapter(session)) return hook