mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Whoops
This commit is contained in:
parent
6da7436aed
commit
b4c45a7722
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue