Whoops pt. something
This commit is contained in:
parent
c620c53cf0
commit
5a6b6c073b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user