Update proxy.py

Fixing type declaration in recent changes
This commit is contained in:
Grey Himmel 2019-04-22 17:23:44 -04:00 committed by GitHub
parent 10113d331e
commit 6a27b5b54d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
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
msg = await db.get_message(conn, payload.message_id)
if not msg: