mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-17 03:00:13 +00:00
Update proxy.py
Fixing type declaration in recent changes
This commit is contained in:
parent
10113d331e
commit
6a27b5b54d
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ async def try_delete_by_reaction(conn, client: discord.Client, message_id: int,
|
||||||
|
|
||||||
await handle_deleted_message(conn, client, message_id, original_message.content, logger)
|
await handle_deleted_message(conn, client, message_id, original_message.content, logger)
|
||||||
|
|
||||||
async def do_query_message(conn, client: discord.Client, payload: RawReactionActionEvent) -> bool:
|
async def do_query_message(conn, client: discord.Client, payload: discord.RawReactionActionEvent) -> bool:
|
||||||
# Find the message that was queried
|
# Find the message that was queried
|
||||||
msg = await db.get_message(conn, payload.message_id)
|
msg = await db.get_message(conn, payload.message_id)
|
||||||
if not msg:
|
if not msg:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue