From c620c53cf04505b07f5b797c2fc25a24456a94be Mon Sep 17 00:00:00 2001 From: Ske Date: Fri, 8 Mar 2019 15:41:37 +0100 Subject: [PATCH] Remove old workarounds pt. 2 --- src/pluralkit/bot/proxy.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pluralkit/bot/proxy.py b/src/pluralkit/bot/proxy.py index 123288ec..9343cb2b 100644 --- a/src/pluralkit/bot/proxy.py +++ b/src/pluralkit/bot/proxy.py @@ -21,10 +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)) - - hook._adapter.store_user = hook._adapter._store_user return hook try: