From b4c45a772270d8fdd17df939d7b79dbddf17b06e Mon Sep 17 00:00:00 2001 From: Ske Date: Tue, 13 Nov 2018 13:18:41 +0100 Subject: [PATCH] Whoops --- src/pluralkit/bot/proxy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pluralkit/bot/proxy.py b/src/pluralkit/bot/proxy.py index ae4a7467..bb34d592 100644 --- a/src/pluralkit/bot/proxy.py +++ b/src/pluralkit/bot/proxy.py @@ -81,6 +81,8 @@ async def get_or_create_webhook_for_channel(conn, channel: discord.TextChannel): # If not, we create one and save it created_webhook = await channel.create_webhook(name="PluralKit Proxy Webhook") + created_webhook._adapter.store_user = created_webhook._adapter._store_user + await db.add_webhook(conn, channel.id, created_webhook.id, created_webhook.token) return created_webhook