async def notify_delete(channel, query, *, conn):
status = await conn.execute(r'''DELETE FROM notify WHERE channel_id=$1 and query=$2''',
snowflake2db(channel.id), query)
return status != 'DELETE 0'
return status != 'DELETE 0'
насколько это плохо, и как надо правильно?